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++.jason/] [pmem4.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
struct X {};
X& X::*PTM_1; // { dg-error "" } pointer to reference member
void X::*PTM_2; // { dg-error "" } pointer to void member
struct A {
static int& ir;
};
int i;
int& A::ir = i; // not an error