2012-04-13 09:00:34 +08:00
|
|
|
// RUN: %clang -cc1 -fsyntax-only -Wnewline-eof -verify %s
|
2011-07-23 07:08:19 +08:00
|
|
|
// rdar://9133072
|
|
|
|
|
|
|
|
// The following line isn't terminated, don't fix it.
|
2012-04-13 09:00:34 +08:00
|
|
|
void foo() {} // expected-warning{{no newline at end of file}}
|