OSDN Git Service

* pt.c (type_unification_real): Set input_location
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash58.C
1 //PR 26938
2
3 template<int, int = 0> struct A;  // { dg-message "previous declaration" }
4
5 template<int> struct A            // { dg-error "template" }
6 {
7   A();
8 };
9
10 A<0> a;                           // { dg-error "incomplete type" }