From f6bd496b76f76724baf9fe8028ea8704ae072f96 Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Thu, 26 Jul 2012 20:22:49 +0000 Subject: Add atomic test for C++ class with a method git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13417 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/cpp_atomic_class_method.i | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Examples/test-suite/cpp_atomic_class_method.i diff --git a/Examples/test-suite/cpp_atomic_class_method.i b/Examples/test-suite/cpp_atomic_class_method.i new file mode 100644 index 000000000..ec2f9c5cd --- /dev/null +++ b/Examples/test-suite/cpp_atomic_class_method.i @@ -0,0 +1,10 @@ +%module cpp_atomic_class_method + +%inline{ + class MyClass { + public: + int someMethod(void) { + return 42; + } + }; +} -- cgit v1.2.1