aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/pr110514b.d
blob: 86aeb485c34f7a126c5bf789e56a5d34c2890fcf (plain)
1
2
3
4
5
6
7
8
// { dg-do "compile" }
// { dg-options "-O" }
immutable uint[] imm_ctor_arr;
int test_imm_ctor(immutable uint[] ptr)
{
    return imm_ctor_arr[2] == 3;
}
// { dg-final { scan-assembler "_d_arraybounds_indexp" } }