| 1 |
// PR c++/52844 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
|
| 4 |
template < class > struct V { }; |
| 5 |
template < int...Is > void f ( V < Is...>) { } // { dg-error "mismatch|type" } |
| 6 |
auto g ( ) -> decltype ( f ( V < long > ( ) ) ) ; // { dg-error "matching" } |