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-error {{string literal in language linkage specifier cannot have an encoding-prefix}}
12 extern L"C" {} // expected-error {{string literal in language linkage specifier cannot have an encoding-prefix}}
13 extern u"C++" {} // expected-error {{string literal in language linkage specifier cannot have an encoding-prefix}}
14 extern U"C" {} // expected-error {{string literal in language linkage specifier cannot have an encoding-prefix}}
15