git-commit-vandalism/t/t4018/cpp-struct-single-line
Johannes Sixt 9cc444f057 t4018: test cases showing that the cpp pattern misses many anchor points
Most of the tests show C++ code, but there is also a union definition and
a GNU style function definition that are not recognized.

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

9 lines
73 B
Plaintext

void wrong()
{
}
struct RIGHT_iterator_tag {};
int ChangeMe;
// broken