diff options
Diffstat (limited to 'test/Lexer/eof-conflict-marker.c')
-rw-r--r-- | test/Lexer/eof-conflict-marker.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Lexer/eof-conflict-marker.c b/test/Lexer/eof-conflict-marker.c new file mode 100644 index 0000000000000..e0c35401ccbf6 --- /dev/null +++ b/test/Lexer/eof-conflict-marker.c @@ -0,0 +1,11 @@ +// RUN: %clang_cc1 %s -verify -fsyntax-only +// vim: set binary noeol: + +// This file intentionally ends without a \n on the last line. Make sure your +// editor doesn't add one. + +>>>> ORIGINAL +// expected-error@-1 {{version control conflict marker in file}} +<<<< +// expected-error@-1 {{expected identifier or '('}} +<<<<
\ No newline at end of file |