PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / complit1.C
blob218a7c92908306d1570d39cdd8a935bed31a55bf
1 // { dg-options "" }
3 template <int D> struct C {
4   int d[3];
5   C();
6 };
8 template<int D>
9 C<D>::C() : d((int[]){1,2,3}) {} // { dg-error "array" }
11 template class C<1>;