Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / dcl.dcl / dcl.link / p2.cpp
blob234db01a001fbf0eb92b9b305e36d1438ff7bb4c
1 // RUN: %clang_cc1 -std=c++11 -verify %s
3 extern "C" {
4 extern R"(C++)" { }
7 #define plusplus "++"
8 extern "C" plusplus {
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}}