new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
34521b3eb6
commit
fff1d0f06c
2 changed files with 16 additions and 0 deletions
15
SWIG/Examples/test-suite/anonymous_bitfield.i
Normal file
15
SWIG/Examples/test-suite/anonymous_bitfield.i
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
%module anonymous_bitfield
|
||||||
|
|
||||||
|
%inline %{
|
||||||
|
|
||||||
|
struct Foo {
|
||||||
|
int x : 4;
|
||||||
|
int y : 4;
|
||||||
|
int : 2;
|
||||||
|
int f : 1;
|
||||||
|
unsigned int : 5;
|
||||||
|
int z : 15;
|
||||||
|
};
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
|
@ -66,6 +66,7 @@ CPP_TEST_CASES += \
|
||||||
abstract_virtual \
|
abstract_virtual \
|
||||||
add_link \
|
add_link \
|
||||||
anonymous_arg \
|
anonymous_arg \
|
||||||
|
anonymous_bitfield \
|
||||||
argout \
|
argout \
|
||||||
arrayref \
|
arrayref \
|
||||||
arrays_global \
|
arrays_global \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue