// { dg-do compile { target c++11 } } // { dg-skip-if "requires hosted libstdc++ for string" { ! hostedlib } } #include std::string operator ""_xxx(const char*, size_t); std::string operator ""_yyy(const char*, size_t); std::string concat = "Hello, "_xxx "World!"_yyy; // { dg-error "inconsistent user-defined literal suffixes" }