URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [misc14.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed miscellaneous-bugs
class X {
public:
enum e {
New // { dg-message "previous" }
, // { dg-error "comma at end" "" { target c++98 } }
};
static int New(int); // { dg-error "conflicts with a previous" }
};
int main() {}
Go to most recent revision | Compare with Previous | Blame | View Log