gcc/testsuite/g++.old-deja/g++.jason/lineno2.C
raw| 1 | // { dg-do assemble } |
| 2 | // { dg-options "" } |
| 3 | // GROUPS passed error-reporting |
| 4 | // Bug: # line directive gets ignored immediately after text. |
| 5 | template <class T> class A |
| 6 | { |
| 7 | public: |
| 8 | # 200 "lineno2.C" |
| 9 | }; |
| 10 | |
| 11 | int |
| 12 | main() |
| 13 | { |
| 14 | undef1(); // { dg-error "" "" { target *-*-* } 205 } |
| 15 | return 0; |
| 16 | } |