summaryrefslogtreecommitdiff
path: root/test/racc/assets/nullbug2.y
diff options
context:
space:
mode:
Diffstat (limited to 'test/racc/assets/nullbug2.y')
-rw-r--r--test/racc/assets/nullbug2.y15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/racc/assets/nullbug2.y b/test/racc/assets/nullbug2.y
new file mode 100644
index 0000000000..f09ca625e8
--- /dev/null
+++ b/test/racc/assets/nullbug2.y
@@ -0,0 +1,15 @@
+#
+# number of conflicts must be ZERO.
+#
+
+class A
+rule
+ targ: operation voidhead
+ | variable
+
+ voidhead : void B
+ void:
+
+ operation: A
+ variable : A
+end