From ab81492fb8cc032f198b011a18d61814f6404f89 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Fri, 3 Feb 2006 07:49:04 +0000 Subject: [PATCH] add nested class test git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8689 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/template_classes.i | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/SWIG/Examples/test-suite/template_classes.i b/SWIG/Examples/test-suite/template_classes.i index a1e604e5b..a05eb9b58 100644 --- a/SWIG/Examples/test-suite/template_classes.i +++ b/SWIG/Examples/test-suite/template_classes.i @@ -3,6 +3,9 @@ %module template_classes + +#pragma SWIG nowarn=SWIGWARN_PARSE_NESTED_CLASS + %{ %} @@ -23,6 +26,22 @@ public: void setPoint(Point& value) {point = value;} private: Point point; + + + template + struct pair2nd_eq + { + }; + + + + + struct Foo : Point + { + }; + + Foo foo; + }; %}