diff options
Diffstat (limited to 'test/Lexer/eof-include.c')
-rw-r--r-- | test/Lexer/eof-include.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Lexer/eof-include.c b/test/Lexer/eof-include.c new file mode 100644 index 0000000..6e53788 --- /dev/null +++ b/test/Lexer/eof-include.c @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 %s -verify +// vim: set binary noeol: + +// This file intentionally ends without a \n on the last line. Make sure your +// editor doesn't add one. + +// expected-error@+1{{expected "FILENAME" or <FILENAME>}} +#include <\
\ No newline at end of file |