diff options
author | Johannes Sixt <j6t@kdbg.org> | 2014-03-21 21:07:21 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-21 22:03:31 (GMT) |
commit | 9cc444f0570b196f1c51664ce2de1d8e1dee6046 (patch) | |
tree | 25d9d417c6431219a1324c33ae250e8848744b00 /t/t4018/cpp-function-returning-nested | |
parent | 02907a08ccfbdf0a9a48259fd7e9a234f3c123b3 (diff) | |
download | git-9cc444f0570b196f1c51664ce2de1d8e1dee6046.zip git-9cc444f0570b196f1c51664ce2de1d8e1dee6046.tar.gz git-9cc444f0570b196f1c51664ce2de1d8e1dee6046.tar.bz2 |
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>
Diffstat (limited to 't/t4018/cpp-function-returning-nested')
-rw-r--r-- | t/t4018/cpp-function-returning-nested | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4018/cpp-function-returning-nested b/t/t4018/cpp-function-returning-nested new file mode 100644 index 0000000..41700f2 --- /dev/null +++ b/t/t4018/cpp-function-returning-nested @@ -0,0 +1,6 @@ +get::Item get::it::RIGHT() +{ + ChangeMe; + broken; +} + |