/cp
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / udlit-char-template-neg.C
blobe77ea45890d52f67e4f95d0d18b3c070ea3ad973
1 // { dg-do compile { target { c++11 && { ! c++14 } } } }
3 template<typename CharT, CharT... String>
4   int
5   operator"" _script()
6   { return 42; } // { dg-error "literal operator template|has invalid parameter list" }
8 int i = "hi!"_script;