1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-tree-dominator-opts -fdump-tree-store_ccp" } */
4 extern int printf (const char *, ...);
14 variable
= variable
+ 1;
18 printf("%d\n", variable
);
22 /* The argument to "printf" should be a constant, not a variable. */
23 /* { dg-final { scan-tree-dump-times "printf.*, 0" 1 "store_ccp"} } */
24 /* { dg-final { cleanup-tree-dump "store_ccp" } } */