Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/lineno4.C

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