aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/verifier/expr_optional_assign.good
blob: 9e6cdc15b161f9ca8402954703653c776b9abb79 (plain)
1
2
3
4
5
6

int v = 123;
int^ p = @v;
int^? op1 = makeopt @v;
int^? op2 = makeopt p;
// makeopt is not requried for pointers
//int^? op3 = @p;  // FIXME