git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-03-20 19:36:16 +00:00
commit f0b063ef3e
3 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,11 @@
%module class_scope_weird
%inline %{
class Foo {
public:
int Foo::bar(int x) {
return x;
}
};
%}

View file

@ -50,7 +50,6 @@ CPP_TEST_BROKEN += \
template_specialization_enum \
using_namespace
# Broken C test cases. (Can be run individually using make testcase.cpptest.)
C_TEST_BROKEN +=
@ -76,6 +75,7 @@ CPP_TEST_CASES += \
casts \
cast_operator \
class_ignore \
class_scope_weird \
const_const_2 \
constant_pointers \
constover \

View file

@ -0,0 +1,5 @@
import class_scope_weird
f = class_scope_weird.Foo()
if f.bar(3) != 3:
raise RuntimeError