From 95d7d7f92924bca0dc04df95b14d7d1b56f92d98 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 29 Jun 2020 14:24:33 +0200 Subject: [PATCH] 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. --- gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2