Rename cpp_atomic_* tests to cpp_basic_*
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f7b5211739
commit
ea240fdde3
19 changed files with 27 additions and 27 deletions
13
Examples/test-suite/c/cpp_basic_class_method_runme.c
Normal file
13
Examples/test-suite/c/cpp_basic_class_method_runme.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <assert.h>
|
||||
#include "cpp_basic_class_method/cpp_basic_class_method_proxy.h"
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
MyClass *mc = new_MyClass();
|
||||
|
||||
assert(MyClass_someMethod(mc) == 42);
|
||||
|
||||
delete_MyClass(mc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue