| 1 |
// PR c++/108468 |
| 2 |
// { dg-do compile { target c++14 } } |
| 3 |
|
| 4 |
template<int> struct C { |
| 5 |
template<class, class> |
| 6 |
static constexpr int x = 1; |
| 7 |
}; |
| 8 |
|
| 9 |
template<int I> template<class... A> |
| 10 |
int C<I>::x<void(A...), void(A...)> = 2; |
| 11 |
|
| 12 |
int y = C<0>::x<void(int), void()>; |