From 2dac4914341e1bcef26a1fbfc16ca8592a8db95d Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Thu, 9 Aug 2012 13:06:03 +0000 Subject: [PATCH] Basic C++ test of very simple template class instantiation git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13572 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/cpp_basic_template_class.i | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Examples/test-suite/cpp_basic_template_class.i diff --git a/Examples/test-suite/cpp_basic_template_class.i b/Examples/test-suite/cpp_basic_template_class.i new file mode 100644 index 000000000..93db46efb --- /dev/null +++ b/Examples/test-suite/cpp_basic_template_class.i @@ -0,0 +1,12 @@ +%module cpp_basic_template_class + +%inline +{ + +template struct MyTemplateClass { + T someMemberVariable; +}; + +} + +%template(MyTemplateClass_Int) MyTemplateClass; \ No newline at end of file