aboutsummaryrefslogtreecommitdiff
path: root/test/bitfield-non-adjacent.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/bitfield-non-adjacent.c')
-rw-r--r--test/bitfield-non-adjacent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bitfield-non-adjacent.c b/test/bitfield-non-adjacent.c
new file mode 100644
index 0000000..ea5233b
--- /dev/null
+++ b/test/bitfield-non-adjacent.c
@@ -0,0 +1,3 @@
+struct {
+ int x : 1, y, z : 1;
+} s = {.z = 1};