diff options
Diffstat (limited to 'test/CXX/lex/lex.literal/lex.ext/p9.cpp')
-rw-r--r-- | test/CXX/lex/lex.literal/lex.ext/p9.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CXX/lex/lex.literal/lex.ext/p9.cpp b/test/CXX/lex/lex.literal/lex.ext/p9.cpp index e3de34df9e..65e27b41b0 100644 --- a/test/CXX/lex/lex.literal/lex.ext/p9.cpp +++ b/test/CXX/lex/lex.literal/lex.ext/p9.cpp @@ -6,9 +6,7 @@ void operator "" _x(const wchar_t *, size_t); namespace std_example { int main() { - // FIXME: once we implement the semantics of literal operators, this warning - // should vanish. - L"A" "B" "C"_x; // expected-warning {{expression result unused}} + L"A" "B" "C"_x; "P"_x "Q" "R"_y; // expected-error {{differing user-defined suffixes ('_x' and '_y') in string literal concatenation}} } |