Add atomic test for C++ class with another class as attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cfc1a71b71
commit
d276aec0d0
1 changed files with 10 additions and 0 deletions
10
Examples/test-suite/cpp_atomic_class_var_pub_member_class.i
Normal file
10
Examples/test-suite/cpp_atomic_class_var_pub_member_class.i
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%module cpp_atomic_class_var_pub_member_class
|
||||
|
||||
%inline{
|
||||
class MyClass {
|
||||
};
|
||||
class MySecondClass {
|
||||
public:
|
||||
MyClass myPubClassInstance;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue