llvm-for-llvmta/tools/clang/test/Lexer/eof-file.c

8 lines
266 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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.
// expected-error@+1{{expected expression}} expected-error@+1{{expected ';'}}
char c = \