aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t043synpred.g
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/JavaScript/tests/functional/t043synpred.g')
-rwxr-xr-xruntime/JavaScript/tests/functional/t043synpred.g14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t043synpred.g b/runtime/JavaScript/tests/functional/t043synpred.g
new file mode 100755
index 0000000..6293153
--- /dev/null
+++ b/runtime/JavaScript/tests/functional/t043synpred.g
@@ -0,0 +1,14 @@
+grammar t043synpred;
+options {
+ language = JavaScript;
+}
+
+a: ((s+ P)=> s+ b)? E;
+b: P 'foo';
+
+s: S;
+
+
+S: ' ';
+P: '+';
+E: '>';