lean4-htt/tests/lean/1321.lean
2022-07-18 23:50:41 -04:00

11 lines
133 B
Text

@[reducible]
syntax (name := fooParser) "foo" term : term
#print fooParser
macro_rules
| `(foo $x) => `($x + 1)
#check foo 5