1 // { dg-do compile { target c++11 } } 2 3 class Foo { }; 4 5 template<wchar_t...> 6 Foo operator"" _Foo(); // { dg-error "literal operator template|has invalid parameter list" } 7 8 template<char> 9 Foo operator"" _Bar(); // { dg-error "literal operator template|has invalid parameter list" } 10 11 template<typename... Type> 12 Foo operator"" _Bar(); // { dg-error "literal operator template|has invalid parameter list" } 13