Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
pmem4.C
blob: b05c86d4fbbe93f55b7b6551b02ae00f1fb534d9 [
file
] [
log
] [
blame
]
// { 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