Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
issue22130.d
blob: 34a631d254127776f5de425e1984d50ade063ef3 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=22130
int
*
f
(
const
int
*
input
)
pure nothrow
@safe
{
int
*
output
;
return
output
;
}
void
main
()
pure nothrow
@safe
{
int
*
c
=
new
int
;
immutable
int
*
i
=
f
(
c
);
}