diff options
Diffstat (limited to 'Examples/test-suite/ruby/class_ignore_runme.rb')
-rwxr-xr-x | Examples/test-suite/ruby/class_ignore_runme.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/ruby/class_ignore_runme.rb b/Examples/test-suite/ruby/class_ignore_runme.rb new file mode 100755 index 000000000..0b47a7fad --- /dev/null +++ b/Examples/test-suite/ruby/class_ignore_runme.rb @@ -0,0 +1,10 @@ +require 'class_ignore' + +a = Class_ignore::Bar.new + +# Even though we didn't wrap the Foo class, this call +# to do_blah() should succeed. + +if Class_ignore.do_blah(a) != "Bar::blah" + raise RuntimeError +end |