summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/newline-eof.c
blob: 2f95dc7593c7ad64b7986b217e116c31eb875fb4 (plain)
1
2
3
4
5
// RUN: %clang -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}}
OpenPOWER on IntegriCloud