aboutsummaryrefslogtreecommitdiffstats
path: root/test/racc/scandata/slash
diff options
context:
space:
mode:
Diffstat (limited to 'test/racc/scandata/slash')
-rw-r--r--test/racc/scandata/slash10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/racc/scandata/slash b/test/racc/scandata/slash
new file mode 100644
index 0000000000..190135b3bd
--- /dev/null
+++ b/test/racc/scandata/slash
@@ -0,0 +1,10 @@
+{
+ # here's many '/'s
+ i = 5/1 # div
+ re = /regex/ # regexp
+ i /= 5 # div
+ result = 5 / 1 # div
+ result = 5/ 1 # div
+ call(/regex/) # regexp
+ call /regex/ # regexp
+}