]>
Commit | Line | Data |
---|---|---|
9d564961 | 1 | // PR c++/17595 |
2 | ||
3 | // Ideally, the #pragma error would come one line further down, but it | |
4 | // does not. | |
b75b98aa | 5 | int f(int x, |
6 | #pragma interface // { dg-error "not allowed here" } | |
43bbc1da | 7 | // { dg-bogus "two or more" "" { xfail *-*-* } .-1 } |
9af3e7f6 | 8 | // The parser gets confused and issues an error on the next line. |
43bbc1da | 9 | int y); |