diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/abs.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/abs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/abs.c b/gcc/testsuite/gcc.c-torture/compile/abs.c new file mode 100644 index 0000000..6a746b1 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/abs.c @@ -0,0 +1,9 @@ +foo (a) +{ + return __builtin_abs (a); +} + +main () +{ + printf ("%d %d\n", foo (0x80000000), foo (12)); +} |