blob: 8e305606b64781345bc5771ebe79262cd223673f [file] [log] [blame]
// { dg-do assemble }
// { dg-options "" }
// GROUPS passed error-reporting
// potential bug: # line directive does not get reproduced in template
// expansion
template <class T> class A
{
public:
# 200 "lineno3.C"
void foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 }
// { dg-message "note" "note" { target *-*-* } 200 }
};
template class A<int>;