Skip to content

Commit 99e5028

Browse files
Revert "remove program.cairo"
This reverts commit 75b15d9.
1 parent 75b15d9 commit 99e5028

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

program.cairo

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
use core::box::BoxTrait;
2+
3+
enum MyEnum {
4+
A: felt252,
5+
B: u128,
6+
}
7+
8+
fn run_test() -> MyEnum {
9+
let x = BoxTrait::new(MyEnum::A(1234));
10+
x.unbox()
11+
}

0 commit comments

Comments
 (0)