Debian Codegraph @

gcc/testsuite/g++.dg/init/pr83993-2.C

raw
1 // PR c++/83993
2 // { dg-do compile }
3 // { dg-options "-w" }
4
5 int a[5];
6 extern int b[];
7 int *const c = &a[6];
8 int *const d = &b[1];
9
10 int
11 foo ()
12 {
13 return c[-4] + d[-1];
14 }