summaryrefslogtreecommitdiff
path: root/test/ruby/undef.in.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/undef.in.rb')
-rw-r--r--test/ruby/undef.in.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/ruby/undef.in.rb b/test/ruby/undef.in.rb
new file mode 100644
index 0000000..795483d
--- /dev/null
+++ b/test/ruby/undef.in.rb
@@ -0,0 +1,18 @@
+undef /
+undef ,
+undef --
+
+undef
+# bla
+[]=
+
+undef undef
+undef /,/,:/
+
+undef &,&&
+
+:simple
+:"bla"
+:"#{undef :blubb}#@@cv"
+
+undef :"bla", /, :"#{undef :blubb}#@@cv"