--- MacRuby/trunk/test_vm/constant.rb 2009-10-15 02:43:28 UTC (rev 2808)
+++ MacRuby/trunk/test_vm/constant.rb 2009-10-15 06:37:10 UTC (rev 2809)
@@ -127,3 +127,13 @@
end
Foo.new.hey
}
+
+assert '42', %{
+ module Foo; end
+ module Foo::Bar
+ FOO=42
+ class X
+ p FOO
+ end
+ end
+}