Richard Smith | f109afd | 2013-01-16 21:43:09 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=c++11 -fsyntax-only %s |
2 | // RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s | ||||
3 | |||||
4 | // expected-error@8 {{in c++98 only}} | ||||
5 | #if 0 | ||||
6 | R"( | ||||
7 | #else | ||||
8 | #error in c++98 only)" | ||||
9 | #endif |