1 // RUN: %clang_cc1 -fsyntax-only -Wc++98-compat-pedantic -std=c++11 -verify %s 2 3 // The following line isn't terminated, don't fix it. 4 void foo() {} // expected-warning{{C++98 requires newline at end of file}}