Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
defarg17.C
blob: c39a819c72328c367c6610b4b8487466f6b32daa [
file
] [
log
] [
blame
]
typedef
int
I
;
int
f
(
float
I
=
0.0
,
int
b
=
I
(
2
));
// { dg-error "parameter" }
int
g
(
int
b
=
I
(
2
),
float
I
=
0.0
);
struct
A
{
int
f
(
float
I
=
0.0
,
int
b
=
I
(
2
));
// { dg-error "parameter" }
int
g
(
int
b
=
I
(
2
),
float
I
=
0.0
);
};