URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [parse5.C] - Rev 841
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: foo (bar) should be a declaration of a static data member, not a
// function; it's getting caught by the rules for constructors.
typedef int foo;
typedef int bar;
struct A {
static foo (bar); // { dg-bogus "" }
};
int i = A::bar; // { dg-bogus "" }
int (*fp)(bar) = A::foo; // { dg-error "" }
Go to most recent revision | Compare with Previous | Blame | View Log