Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr37289.c
blob61513c94ee261d3300476ee0feb7ed2f8b1c40f1
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-original" } */
4 void f(unsigned long x);
6 void g(long x)
8 f((unsigned long)(-1-x)+1);
11 /* Make sure we do not lose the conversion. */
13 /* { dg-final { scan-tree-dump "-\\\(long unsigned int\\\) x" "original" } } */
14 /* { dg-final { cleanup-tree-dump "original" } } */