git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-09-01 18:23:08 +00:00
commit ec5766c20a
2 changed files with 22 additions and 0 deletions

View file

@ -45,6 +45,7 @@ DYNAMIC_LIB_PATH = $(RUNTIMEDIR):.
# Broken C++ test cases. (Can be run individually using make testcase.cpptest.)
CPP_TEST_BROKEN += \
template_partial_arg \
array_typedef_memberin \
exception_order \
template_default_arg \

View file

@ -0,0 +1,21 @@
%module template_partial_arg
%inline %{
template <class T> class Foo {
public:
T bar() { return T(); }
T* baz() { return 0; }
};
template <class T> class Foo<T*> {
public:
T bar() { return T(); }
T* baz() { return 0; }
};
class Bar {};
%}
%template(Foo1) Foo<Bar>;
%template(Foo2) Foo<Bar*>;