aboutsummaryrefslogtreecommitdiff
path: root/gdb/testbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testbf.c')
-rw-r--r--gdb/testbf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testbf.c b/gdb/testbf.c
new file mode 100644
index 0000000..dd661a0
--- /dev/null
+++ b/gdb/testbf.c
@@ -0,0 +1,13 @@
+struct foo
+{
+ int a : 5, : 4, b : 5;
+ char c;
+ int : 3, d : 8, : 0, e : 5;
+};
+
+struct foo x;
+
+main ()
+{
+ printf (x);
+}