about summary refs log tree commit diff
path: root/third_party/git/t/t4018/cpp-struct-definition
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t4018/cpp-struct-definition')
-rw-r--r--third_party/git/t/t4018/cpp-struct-definition9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/git/t/t4018/cpp-struct-definition b/third_party/git/t/t4018/cpp-struct-definition
new file mode 100644
index 000000000000..521c59fd1513
--- /dev/null
+++ b/third_party/git/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;
+};