aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/modules/grammar.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/modules/grammar.v')
-rw-r--r--test-suite/modules/grammar.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/test-suite/modules/grammar.v b/test-suite/modules/grammar.v
new file mode 100644
index 000000000..7751e9f38
--- /dev/null
+++ b/test-suite/modules/grammar.v
@@ -0,0 +1,15 @@
+Mod N.
+Definition f:=plus.
+Syntax constr level 7: plus [ (f $n $m)] -> [ $n:L "+" $m:E].
+Check (f O O).
+EndM N.
+Check (N.f O O).
+Imp N.
+Check (N.f O O).
+Check (f O O).
+Mod M:=N.
+Check (f O O).
+Check (N.f O O).
+Imp M.
+Check (f O O).
+Check (N.f O O).