diff options
Diffstat (limited to 'bootstrap/test2.cff')
| -rw-r--r-- | bootstrap/test2.cff | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff index 0d5d086..a48247e 100644 --- a/bootstrap/test2.cff +++ b/bootstrap/test2.cff @@ -16,7 +16,9 @@ struct Bit<T> { !fn foo(x T) T { return ~x + Y; } } -def Y = 3.3; +defmacro def2(x, v) [def x = (v)] + +def2(Y, 3.3); enum union Value { None, |