* gcc.dg/20061124-1.c: Add exit() function prototype.
[official-gcc.git] / gcc / testsuite / gcc.dg / sparc-constant-1.c
blobbb4b1bce4f837a7898df4e7eb7969d8dbda1feed
1 /* PR optimization/10876 */
2 /* { dg-do compile { target sparc*-*-* } } */
4 /* Verify that adding the constant 4096 is turned
5 into substracting the constant -4096. */
7 int foo(int a)
9 return a+4096;
12 /* { dg-final { scan-assembler "sub" } } */