2012-04-15 12:41:49 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -Wc++98-compat-pedantic -std=c++11 -verify %s
|
2012-04-13 11:43:23 +08:00
|
|
|
|
|
|
|
// The following line isn't terminated, don't fix it.
|
|
|
|
void foo() {} // expected-warning{{C++98 requires newline at end of file}}
|