summaryrefslogtreecommitdiff
path: root/spec/ruby/language/fixtures/class_with_class_variable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/fixtures/class_with_class_variable.rb')
-rw-r--r--spec/ruby/language/fixtures/class_with_class_variable.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/language/fixtures/class_with_class_variable.rb b/spec/ruby/language/fixtures/class_with_class_variable.rb
new file mode 100644
index 0000000000..0b07f16d30
--- /dev/null
+++ b/spec/ruby/language/fixtures/class_with_class_variable.rb
@@ -0,0 +1,9 @@
+module StringSpecs
+ class ClassWithClassVariable
+ @@a = "xxx"
+
+ def foo
+ "#@@a"
+ end
+ end
+end