diff options
Diffstat (limited to 'test/CXX/lex/lex.literal/lex.ext/p5.cpp')
-rw-r--r-- | test/CXX/lex/lex.literal/lex.ext/p5.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CXX/lex/lex.literal/lex.ext/p5.cpp b/test/CXX/lex/lex.literal/lex.ext/p5.cpp index 4655aa17..06c091d 100644 --- a/test/CXX/lex/lex.literal/lex.ext/p5.cpp +++ b/test/CXX/lex/lex.literal/lex.ext/p5.cpp @@ -11,3 +11,10 @@ double &i3 = L"foo"_x1; // expected-error {{no matching literal operator}} char &operator "" _x1(const wchar_t *, size_t); char &i4 = L"foo"_x1; // ok double &i5 = R"(foo)"_x1; // ok +double &i6 = u\ +8\ +R\ +"(foo)"\ +_\ +x\ +1; // ok |