summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/lineno5.C
blob: f723a222b8c08cce9c2af915feb1545fb200b5c7 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed error-reporting
// Bug: incomplete instantiation messes with lineno
template <class T> class A;

int main()
{
  A<int> *p;
  undef1();// { dg-error "" } 
}