Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C

raw
1 // { dg-do compile { target { c++11 && { ! c++14 } } } }
2
3 template<typename CharT, CharT... String>
4 int
5 operator"" _script() // { dg-error "3:literal operator template" }
6 { return 42; }
7
8 int i = "hi!"_script;