Debian Codegraph @

gcc/testsuite/g++.dg/template/partial19.C

raw
1 // PR c++/67593
2 // { dg-do compile { target c++11 } }
3
4 template<class T>
5 struct outer {
6 template<T...> struct inner;
7 template<T... Vs> struct inner<T{}, Vs...> {};
8 };
9
10 outer<int>::inner<0, 0> x1;
11 outer<int>::inner<1, 0> x2; // { dg-error "incomplete" }