1 // RUN: %clang_cc1 -std=c++11 -verify %s 2 3 extern "C" { 4 extern R"(C++)" { } 5 } 6 7 #define plusplus "++" 8 extern "C" plusplus { 9 } 10 11 extern u8"C" {} // expected-warning {{encoding prefix 'u8' on an unevaluated string literal has no effect and is incompatible with c++2c}} 12 extern L"C" {} // expected-warning {{encoding prefix 'L' on an unevaluated string literal has no effect and is incompatible with c++2c}} 13 extern u"C++" {} // expected-warning {{encoding prefix 'u' on an unevaluated string literal has no effect and is incompatible with c++2c}} 14 extern U"C" {} // expected-warning {{encoding prefix 'U' on an unevaluated string literal has no effect and is incompatible with c++2c}} 15