Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr66130.C
blob: b109b9300ff04934498902a1d811bb2f8b15b3f7 [
file
] [
log
] [
blame
]
// PR c++/66130
struct
X
{
X
(
void
*);
void
m
();
// { dg-message "declared here" }
};
struct
Y
:
public
X
{
Y
(
void
*
a
,
void
*
b
)
:
X
(
m
),
mb
(
b
)
{
}
// { dg-error "member function 'void X::m\\(\\)'" }
void
*
mb
;
};