diff options
Diffstat (limited to 'trunk/Examples/test-suite/null_pointer.i')
-rw-r--r-- | trunk/Examples/test-suite/null_pointer.i | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/null_pointer.i b/trunk/Examples/test-suite/null_pointer.i new file mode 100644 index 000000000..59d554c2b --- /dev/null +++ b/trunk/Examples/test-suite/null_pointer.i @@ -0,0 +1,10 @@ +%module null_pointer + +%inline { + struct A {}; + + bool func(A* a) { + return !a; + } +} + |