1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-ccp1" } */
12 static const int x2[3] = { 1, 0, 2 };
16 const int *p = &x2[i];
21 /* { dg-final { scan-tree-dump-times "return 1;" 2 "ccp1" } } */
22 /* { dg-final { cleanup-tree-dump "ccp1" } } */