Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
10ac7205ce1801cf5f6d90eb94cf38f37f99f8f3
/
.
/
clang
/
test
/
Lexer
/
newline-eof.c
blob: 12087b2370808abd5c853b6a3023b3047e4e7476 [
file
] [
log
] [
blame
]
// RUN: %clang -cc1 -fsyntax-only -Wnewline-eof -verify %s
// rdar://9133072
// The following line isn't terminated, don't fix it.
void
foo
()
{}
// expected-warning{{no newline at end of file}}