URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [misc14.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed miscellaneous-bugs
class X {
public:
enum e {
New // { dg-error "conflicts with previous" }
, // { dg-error "comma at end" }
};
static int New(int); // { dg-error "declaration of" }
};
int main() {}