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:

committed by
Junio C Hamano

parent
02907a08cc
commit
9cc444f057
5
t/t4018/cpp-operator-definition
Normal file
5
t/t4018/cpp-operator-definition
Normal file
@ -0,0 +1,5 @@
|
||||
Value operator+(Value LEFT, Value RIGHT)
|
||||
{
|
||||
ChangeMe;
|
||||
broken;
|
||||
}
|
Reference in New Issue
Block a user