Files
ANSLibs/swig-4.3.0/Examples/test-suite/ruby/template_extend1_runme.rb

20 lines
272 B
Ruby
Raw Permalink Normal View History

#!/usr/bin/env ruby
#
# Put description here
#
#
#
#
#
require 'swig_assert'
require 'template_extend1'
a = Template_extend1::LBaz.new
b = Template_extend1::DBaz.new
raise RuntimeError unless a.foo() == "lBaz::foo"
raise RuntimeError unless b.foo() == "dBaz::foo"