]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix coding style.
authorMartin Liska <mliska@suse.cz>
Mon, 29 Jun 2020 12:24:33 +0000 (14:24 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 29 Jun 2020 12:46:32 +0000 (14:46 +0200)
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.

gcc/testsuite/c-c++-common/builtin-arith-overflow-1.c

index ba52b448a0996d26adc00d4d088e06b443c36773..25c792ee2e29d3ca7950ae281e4f972731517cf5 100644 (file)
@@ -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;