blob: 65e27b41b066804af7e6bdfb7d4bcfb8ce64feb6 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
using size_t = decltype(sizeof(int));
void operator "" _x(const wchar_t *, size_t);
namespace std_example {
int main() {
L"A" "B" "C"_x;
"P"_x "Q" "R"_y; // expected-error {{differing user-defined suffixes ('_x' and '_y') in string literal concatenation}}
}
}
|