(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
runnable/
test12197.d
// 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);
}