summaryrefslogtreecommitdiff
path: root/tests/headers/weird_bitfields.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-03 00:35:31 +0200
committerEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-03 00:40:30 +0200
commite476eb500f7af3290d20175c34e9682d0c136fd0 (patch)
tree9cfa122dc029d031bd2b1d055e38c13a4b6f518d /tests/headers/weird_bitfields.hpp
parentb925d3ec6a5fc52dd8a00acef7a8062f346eed2d (diff)
gen: Make bitfields work for other types
Diffstat (limited to 'tests/headers/weird_bitfields.hpp')
-rw-r--r--tests/headers/weird_bitfields.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/headers/weird_bitfields.hpp b/tests/headers/weird_bitfields.hpp
index 75024090..68cbf4a5 100644
--- a/tests/headers/weird_bitfields.hpp
+++ b/tests/headers/weird_bitfields.hpp
@@ -7,6 +7,8 @@ enum nsStyleSVGOpacitySource {
class Weird {
unsigned int mStrokeDasharrayLength;
+ unsigned int bitTest: 16;
+ unsigned int bitTest2: 15;
unsigned char mClipRule; // [inherited]
unsigned char mColorInterpolation; // [inherited] see nsStyleConsts.h
unsigned char mColorInterpolationFilters; // [inherited] see nsStyleConsts.h