summaryrefslogtreecommitdiff
path: root/test/ruby/strange.in.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/strange.in.rb')
-rw-r--r--test/ruby/strange.in.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ruby/strange.in.rb b/test/ruby/strange.in.rb
index 6ff93ee..03fec4b 100644
--- a/test/ruby/strange.in.rb
+++ b/test/ruby/strange.in.rb
@@ -10,6 +10,15 @@ while x<10000
g=%w{}
x=0
+=begin
+class Hello
+ @hi #class-instance-variable
+ self <<class
+ attr_accessor :hi
+ end
+end
+=end
+
while x<100
puts"#{g[x]}"
x+=1