URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [pragma2.C] - Rev 847
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/17595
// Ideally, the #pragma error would come one line further down, but it
// does not.
int f(int x,
#pragma interface // { dg-error "not allowed here" }
// The parser gets confused and issues an error on the next line.
int y); // { dg-bogus "" "" { xfail *-*-* } }
Go to most recent revision | Compare with Previous | Blame | View Log