diff options
author | Leif Middelschulte <leif.middelschulte@gmail.com> | 2012-07-26 20:22:49 +0000 |
---|---|---|
committer | Leif Middelschulte <leif.middelschulte@gmail.com> | 2012-07-26 20:22:49 +0000 |
commit | f6bd496b76f76724baf9fe8028ea8704ae072f96 (patch) | |
tree | 2b9cf74bd1f1f820545627e866638cb8bbdefe5e | |
parent | f24ce340ff02b581c65f6e702176cb0eb249d8d9 (diff) | |
download | swig-f6bd496b76f76724baf9fe8028ea8704ae072f96.tar.gz |
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
-rw-r--r-- | Examples/test-suite/cpp_atomic_class_method.i | 10 |
1 files changed, 10 insertions, 0 deletions
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; + } + }; +} |