Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test12197.d
blob: 92a0bbddde5a703be5bd486a9b212df742c2ba22 [
file
] [
log
] [
blame
]
// RUNNABLE_PHOBOS_TEST
// import std.math;
void
foo
(
T
)(
T
[]
b
)
{
b
[]
=
b
[]
^^
4
;
}
void
main
()
{
double
[]
a
=
[
10
];
foo
(
a
);
assert
(
a
[
0
]
==
10000
);
}