Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ambig12.C
blob: 981f35f32a2cf4c6bfa7158c75cfd80d3356a53c [
file
] [
log
] [
blame
]
// PR c++/64679
struct
Bar
{
Bar
(
int
,
int
,
int
);
};
void
g
()
{
Bar
e1
(
int
(
x
),
int
(
x
),
int
);
// { dg-error "redefinition" }
Bar
e2
(
int
(*
p
)(
int
(
x
),
int
(
x
)),
int
);
// { dg-error "redefinition" }
}