Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
DRs
/
dr2082.C
blob: 84bb23f63f2180dbec7abd6b51176a0e51373ee9 [
file
] [
log
] [
blame
]
// DR 2082
void
f
()
{
int
i
;
extern
void
h
(
int
x
=
sizeof
(
i
));
}
class
A
{
void
f
(
A
*
p
=
this
)
{
}
// { dg-error "this" }
};
int
h
(
int
a
,
int
b
=
sizeof
(
a
));