Debian Codegraph @

gcc/testsuite/gdc.dg/pr110514c.d

raw
1 // { dg-do "compile" }
2 // { dg-options "-O" }
3 const uint[] cst_arr = [1,2,3];
4 int test_cst(const uint[] ptr)
5 {
6 return cst_arr[2] == 3;
7 }
8 // { dg-final { scan-assembler "_d_arraybounds_indexp" } }