repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcpp/
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pragma2.C
blob
c5616ff74f53e49d2141e8a71a7eda4a32fae2c2
1
// PR c++/17595
2
3
// Ideally, the #pragma error would come one line further down, but it
4
// does not.
5
int f(int x,
6
#pragma interface // { dg-error "not allowed here" }
7
// The parser gets confused and issues an error on the next line.
8
int y); // { dg-bogus "" "" { xfail *-*-* } }