swig/Examples/test-suite/ruby/class_ignore_runme.rb
Karl Wette 7cd9063b52 Remove execute permissions from various non-executable files
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
  test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00

21 lines
286 B
Ruby

#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require 'swig_assert'
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