aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-06-29 14:24:33 +0200
committerMartin Liska <mliska@suse.cz>2020-06-29 14:46:32 +0200
commit95d7d7f92924bca0dc04df95b14d7d1b56f92d98 (patch)
tree3f5bedf634e38f1f4a6744041b940639e2f025cf
parent9a4a52e359ba16a2516a735dca838af512b19336 (diff)
downloadgcc-95d7d7f92924bca0dc04df95b14d7d1b56f92d98.zip
gcc-95d7d7f92924bca0dc04df95b14d7d1b56f92d98.tar.gz
gcc-95d7d7f92924bca0dc04df95b14d7d1b56f92d98.tar.bz2
testsuite: Fix coding style.
2020-06-29 Martin Liska <mliska@suse.cz> PR c++/86568 * c-c++-common/builtin-arith-overflow-1.c (generic_3, typed_3_null): Fix coding style.
-rw-r--r--gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c4
1 files 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 ba52b44..25c792e 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;