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