about summary refs log tree commit diff
path: root/t/t4018/cpp-struct-definition
diff options
context:
space:
mode:
Diffstat (limited to 't/t4018/cpp-struct-definition')
-rw-r--r--t/t4018/cpp-struct-definition9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t4018/cpp-struct-definition b/t/t4018/cpp-struct-definition
new file mode 100644
index 000000000000..521c59fd1513
--- /dev/null
+++ b/t/t4018/cpp-struct-definition
@@ -0,0 +1,9 @@
+struct RIGHT {
+	unsigned
+	/* this bit field looks like a label and should not be picked up */
+		decoy_bitfield: 2,
+		more : 1;
+	int filler;
+
+	int ChangeMe;
+};