1 /* We used to crash in ccp here, because the initial constant value of 2
4 /* { dg-do compile } */
5 /* { dg-options "-O2 -fdump-tree-optimized" } */
7 static const int a
= 2;
19 /* Check that we return the correct (unchanged) value. */
21 /* { dg-final { scan-tree-dump-times "return 2" 1 "optimized" } } */
22 /* { dg-final { scan-tree-dump-times "return 5" 0 "optimized" } } */