Seth Cantrell | 5e6c3f0 | 2012-04-13 03:43:23 +0000 | [diff] [blame] | 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}} |