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 6template <class T> class A 7{ 8public: 9# 200 "lineno3.C" 10 int foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 } 11}; 12 13template class A<int>; 14