summaryrefslogtreecommitdiffstats
path: root/test/CXX/lex/lex.pptoken/p3-0x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/lex/lex.pptoken/p3-0x.cpp')
-rw-r--r--test/CXX/lex/lex.pptoken/p3-0x.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CXX/lex/lex.pptoken/p3-0x.cpp b/test/CXX/lex/lex.pptoken/p3-0x.cpp
index 3d56ac1..418a0f3 100644
--- a/test/CXX/lex/lex.pptoken/p3-0x.cpp
+++ b/test/CXX/lex/lex.pptoken/p3-0x.cpp
@@ -9,3 +9,7 @@ template void f<::b>();
#define x a<:: ## : b :>
int d = x; // expected-error {{pasting formed ':::', an invalid preprocessing token}} expected-error {{expected unqualified-id}}
+
+const char xs[] = R"(\
+??=\U0000)";
+static_assert(sizeof(xs) == 12, "did not revert all changes");
OpenPOWER on IntegriCloud