add nested class test

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-03 07:49:04 +00:00
commit 81c79ac52d

View file

@ -3,6 +3,9 @@
%module template_classes
#pragma SWIG nowarn=SWIGWARN_PARSE_NESTED_CLASS
%{
%}
@ -23,6 +26,22 @@ public:
void setPoint(Point<T>& value) {point = value;}
private:
Point<T> point;
template <class Data>
struct pair2nd_eq
{
};
struct Foo : Point<int>
{
};
Foo foo;
};
%}