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>
This commit is contained in:
Johannes Sixt
2014-03-21 22:07:21 +01:00
committed by Junio C Hamano
parent 02907a08cc
commit 9cc444f057
12 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Value operator+(Value LEFT, Value RIGHT)
{
ChangeMe;
broken;
}