1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 return ~x
+ 1; /* -x */
11 /* { dg-final { scan-tree-dump "~x;" "optimized" } } */
12 /* { dg-final { scan-tree-dump "-x;" "optimized" } } */
13 /* { dg-final { cleanup-tree-dump "optimized" } } */