aboutsummaryrefslogtreecommitdiff
path: root/test/struct-passing-bitfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/struct-passing-bitfield.c')
-rw-r--r--test/struct-passing-bitfield.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/struct-passing-bitfield.c b/test/struct-passing-bitfield.c
new file mode 100644
index 0000000..fbda34a
--- /dev/null
+++ b/test/struct-passing-bitfield.c
@@ -0,0 +1,7 @@
+struct s {
+ char x, y;
+ long long z : 48;
+};
+
+void f(struct s s) {
+}