From 02907a08ccfbdf0a9a48259fd7e9a234f3c123b3 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 21 Mar 2014 22:07:20 +0100 Subject: 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 Signed-off-by: Junio C Hamano --- t/t4018/cpp-skip-labels | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 t/t4018/cpp-skip-labels (limited to 't/t4018/cpp-skip-labels') diff --git a/t/t4018/cpp-skip-labels b/t/t4018/cpp-skip-labels new file mode 100644 index 0000000000..b9c10aba22 --- /dev/null +++ b/t/t4018/cpp-skip-labels @@ -0,0 +1,8 @@ +void RIGHT (void) +{ +repeat: // C++ comment +next: /* C comment */ + do_something(); + + ChangeMe; +} -- cgit v1.2.3