OSDN Git Service

PR c++/50863
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / udlit-concat-neg.C
1 // { dg-options "-std=c++0x" }
2
3 #include <string>
4
5 std::string operator"" _xxx(const char*, size_t);
6
7 std::string operator"" _yyy(const char*, size_t);
8
9 std::string concat = "Hello, "_xxx "World!"_yyy;        // { dg-error "inconsistent user-defined literal suffixes" }