Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/udlit-concat-neg.C

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } }
3
4 #include <string>
5
6 std::string operator ""_xxx(const char*, size_t);
7
8 std::string operator ""_yyy(const char*, size_t);
9
10 std::string concat = "Hello, "_xxx "World!"_yyy; // { dg-error "inconsistent user-defined literal suffixes" }