lean4-htt/tests/lean/run/mixedMacroRules.lean
Leonardo de Moura 4250bc630e chore: fix tests
2020-06-08 16:18:46 -07:00

11 lines
192 B
Text

new_frontend
syntax:65 term "+!+" term:65 : term
syntax:70 term "*!*" term:70 : term
macro_rules
| `($a +!+ $b) => `($a + $b)
| `($a *!* $b) => `($a * $b)
#check 10 +!+ 20
#check 10 *!* 20