1 // { dg-do run { target c++14 } } 2 // { dg-options -w } 3 4 #include <cassert> 5 6 typedef decltype(sizeof(0)) size_type; 7 8 template<typename CharT, CharT... String> 9 int operator"" _script () { 10 return 1; 11 } 12 13 int operator"" _script (const char*, size_type) { 14 return 2; 15 } 16 main()17int main () 18 { 19 assert ("123"_script == 2); 20 } 21