Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gcc.c-torture/execute/complex-6.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line diff
--- a/gcc/testsuite/gcc.c-torture/execute/complex-6.c Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/testsuite/gcc.c-torture/execute/complex-6.c Thu Feb 13 11:34:05 2020 +0900 @@ -6,7 +6,7 @@ #include <stdlib.h> #include <stdio.h> -int err; +int e; #define TEST(TYPE, FUNC) \ __complex__ TYPE \ @@ -31,7 +31,7 @@ if (res != 1.0 - 2.0i) \ { \ printf ("test_" #FUNC " failed\n"); \ - ++err; \ + ++e; \ } \ } @@ -46,7 +46,7 @@ main (void) { - err = 0; + e = 0; test_float (); test_double (); @@ -54,7 +54,7 @@ test_int (); test_long_int (); - if (err != 0) + if (e != 0) abort (); return 0;