Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
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
;
};