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