From 9cc444f0570b196f1c51664ce2de1d8e1dee6046 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 21 Mar 2014 22:07:21 +0100 Subject: 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 Signed-off-by: Junio C Hamano --- t/t4018/cpp-class-constructor-mem-init | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 t/t4018/cpp-class-constructor-mem-init (limited to 't/t4018/cpp-class-constructor-mem-init') diff --git a/t/t4018/cpp-class-constructor-mem-init b/t/t4018/cpp-class-constructor-mem-init new file mode 100644 index 0000000000..eec1d7cbf3 --- /dev/null +++ b/t/t4018/cpp-class-constructor-mem-init @@ -0,0 +1,6 @@ +Item::Item(int RIGHT) : + member(0) +{ + ChangeMe; + broken; +} -- cgit v1.2.3