From: Martin Liska Date: Mon, 29 Jun 2020 12:24:33 +0000 (+0200) Subject: testsuite: Fix coding style. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95d7d7f92924bca0dc04df95b14d7d1b56f92d98;p=gcc.git testsuite: Fix coding style. 2020-06-29 Martin Liska PR c++/86568 * c-c++-common/builtin-arith-overflow-1.c (generic_3, typed_3_null): Fix coding style. --- diff --git a/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c b/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c index ba52b448a09..25c792ee2e2 100644 --- a/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c +++ b/gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c @@ -43,10 +43,10 @@ generic_2 (int a, int b) int x = __builtin_add_overflow (a, b);/* { dg-error "too few arguments to function" } */ x += __builtin_sub_overflow (a, b); /* { dg-error "too few arguments to function" } */ x += __builtin_mul_overflow (a, b); /* { dg-error "too few arguments to function" } */ - x += __builtin_add_overflow (a, 1); /* { dg-error "too few arguments to function" } */ + x += __builtin_add_overflow (a, 1); /* { dg-error "too few arguments to function" } */ x += __builtin_sub_overflow (a, 2); /* { dg-error "too few arguments to function" } */ x += __builtin_mul_overflow (a, 3); /* { dg-error "too few arguments to function" } */ - x += __builtin_add_overflow (4, b); /* { dg-error "too few arguments to function" } */ + x += __builtin_add_overflow (4, b); /* { dg-error "too few arguments to function" } */ x += __builtin_sub_overflow (5, b); /* { dg-error "too few arguments to function" } */ x += __builtin_mul_overflow (6, b); /* { dg-error "too few arguments to function" } */ return x;