// { dg-do run { target c++14 } } // { dg-options -w } // { dg-skip-if "requires hosted libstdc++ for cassert" { ! hostedlib } } #include typedef decltype(sizeof(0)) size_type; template int operator"" _script () { return 1; } int operator"" _script (const char*, size_type) { return 2; } int main () { assert ("123"_script == 2); }