Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
expr
/
ptrmem8.C
blob: c5a766aa5b53bd84ccc5108fb3b0d4c2060ae755 [
file
] [
log
] [
blame
]
// PR c++/79687
// { dg-do run }
struct
A
{
char
c
;
};
int
main
()
{
char
A
::*
p
=
&
A
::
c
;
static
char
A
::*
const
q
=
p
;
A a
;
return
&(
a
.*
q
)
-
&
a
.
c
;
}