Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
debug
/
pr54831.C
blob: 8e7312061a022332108e4e2bdb909477d0a3148e [
file
] [
log
] [
blame
]
// PR debug/54831
// { dg-do compile }
// { dg-options "-O -fno-split-wide-types -g" }
struct
S
{
int
m1
();
int
m2
();
};
typedef
void
(
S
::*
mptr
)
();
mptr gmp
;
void
bar
(
mptr f
);
void
foo
(
mptr f
)
{
f
=
gmp
;
bar
(
f
);
}