2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / lineno4.C
blob272c050d7919d9913e411d846dceebc6f9d1c524
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // GROUPS passed error-reporting
4 // Bug: # line directive in template definition interferes with growing obstack
5 template <class T> class A
7 public:
9 # 200 "lineno4.C"
10       int foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 }
13 template class A<int>;