git/t/t4018/cpp-struct-definition
Johannes Sixt 02907a08cc t4018: test cases for the built-in cpp pattern
A later patch changes the built-in cpp pattern. These test cases
demonstrate aspects of the pattern that we do not want to change.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-03-21 15:03:29 -07:00

9 lines
159 B
Text

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;
};