☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
udlit-char-template-neg.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/udlit-char-template-neg.C
code
plain
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;