Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash58.C
blobaf2172c67326a71bcd1825c6cae1ce2d1927a399
1 //PR 26938
3 template<int, int = 0> struct A;  // { dg-error "previous declaration" }
5 template<int> struct A            // { dg-error "template" }
7   A();
8 };
10 A<0> a;                           // { dg-error "incomplete type" }