2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / lineno3.C
blobcf39f1c76a4a4b4258bd21a4e49f6fdb362e7f80
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // GROUPS passed error-reporting
4 // potential bug: # line directive does not get reproduced in template
5 // expansion
6 template <class T> class A
8 public:
9 # 200 "lineno3.C"
10       int foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 }
13 template class A<int>;