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.
This commit is contained in:
Martin Liska 2020-06-29 14:24:33 +02:00
parent 9a4a52e359
commit 95d7d7f929
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785

View 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;