summary refs log tree commit diff stats
path: root/tests/compiler/tgrammar.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiler/tgrammar.nim')
-rw-r--r--tests/compiler/tgrammar.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/compiler/tgrammar.nim b/tests/compiler/tgrammar.nim
new file mode 100644
index 000000000..772d0f0cc
--- /dev/null
+++ b/tests/compiler/tgrammar.nim
@@ -0,0 +1,7 @@
+discard """
+  matrix: "-d:nimTestGrammar"
+"""
+
+import compiler/parser
+
+checkSameGrammar()