Update ChangeLog and version files for release
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash58.C
blob5194ee263c0953c1dcd363433ed68f62a45ecb98
1 //PR 26938
3 template<int, int = 0> struct A;  // { dg-message "previous declaration" }
5 template<int> struct A            // { dg-error "template" }
7   A();
8 };
10 A<0> a;                           // { dg-error "incomplete type" }