*** empty log message ***

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Logan Johnson 2003-03-07 17:21:58 +00:00
commit 87d2016a27
7 changed files with 85 additions and 0 deletions

View file

@ -0,0 +1,17 @@
require 'using_composition'
include Using_composition
f = FooBar.new
if f.blah(3) != 3
raise RuntimeError,"blah(int)"
end
if f.blah(3.5) != 3.5
raise RuntimeError,"blah(double)"
end
if f.blah("hello") != "hello"
raise RuntimeError,"blah(char *)"
end