diff options
author | Martin Liska <mliska@suse.cz> | 2020-06-29 14:24:33 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:15:23 -0300 |
commit | 41f7d2f5cb60aa4d61373dcaec22ff2895a11dba (patch) | |
tree | 1731c41f13d855437a890fce9568a9e07ca0892c | |
parent | 3b34bf874b919b222bd4a326fe01001718b6e29d (diff) | |
download | gcc-41f7d2f5cb60aa4d61373dcaec22ff2895a11dba.zip gcc-41f7d2f5cb60aa4d61373dcaec22ff2895a11dba.tar.gz gcc-41f7d2f5cb60aa4d61373dcaec22ff2895a11dba.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.c | 4 |
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; |