aboutsummaryrefslogtreecommitdiff
path: root/test/bitfield-load-unsigned.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/bitfield-load-unsigned.c')
-rw-r--r--test/bitfield-load-unsigned.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/bitfield-load-unsigned.c b/test/bitfield-load-unsigned.c
new file mode 100644
index 0000000..5a9e5fa
--- /dev/null
+++ b/test/bitfield-load-unsigned.c
@@ -0,0 +1,7 @@
+struct {
+ unsigned : 4, x : 15, : 13;
+} s;
+
+void f(void) {
+ s.x;
+}