summaryrefslogtreecommitdiffstats
path: root/test/CXX/lex/lex.literal/lex.ext/p5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/lex/lex.literal/lex.ext/p5.cpp')
-rw-r--r--test/CXX/lex/lex.literal/lex.ext/p5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/lex/lex.literal/lex.ext/p5.cpp b/test/CXX/lex/lex.literal/lex.ext/p5.cpp
index d364a37..a516168 100644
--- a/test/CXX/lex/lex.literal/lex.ext/p5.cpp
+++ b/test/CXX/lex/lex.literal/lex.ext/p5.cpp
@@ -6,7 +6,7 @@ int &operator "" _x1 (const char *);
double &operator "" _x1 (const char *, size_t);
double &i1 = "foo"_x1;
double &i2 = u8"foo"_x1;
-double &i3 = L"foo"_x1; // expected-error {{no matching literal operator for call to 'operator "" _x1' with arguments of types 'const wchar_t *' and 'unsigned long'}}
+double &i3 = L"foo"_x1; // expected-error {{no matching literal operator for call to 'operator""_x1' with arguments of types 'const wchar_t *' and 'unsigned long'}}
char &operator "" _x1(const wchar_t *, size_t);
char &i4 = L"foo"_x1; // ok
OpenPOWER on IntegriCloud