Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / lineno4.C
blob703c897d12fcde993861c2e12e81fd9067eed1a8
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       void foo () { undef1(); } // { dg-error "" "" { target *-*-* } 200 }
11       // { dg-message "note" "note" { target *-*-* } 200 }
14 template class A<int>;