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_global_var_atom_runme.c
Normal file
13
Examples/test-suite/c/cpp_basic_global_var_atom_runme.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <assert.h>
|
||||
#include "cpp_basic_global_var_atom/cpp_basic_global_var_atom_proxy.h"
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
assert(myGlobalInt == 42);
|
||||
|
||||
myGlobalInt = 4711;
|
||||
|
||||
assert(myGlobalInt == 4711);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue