From 376afd0edbb3bd152a21e6c686d0300079d75a84 Mon Sep 17 00:00:00 2001 From: acqn Date: Thu, 29 Sep 2022 18:23:32 +0800 Subject: [PATCH 1/2] Fixed trailing spaces in some testcases. --- test/val/bug1838.c | 4 ++-- test/val/bug1847-struct-field-access.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/val/bug1838.c b/test/val/bug1838.c index 45978dca4..38becf5e9 100644 --- a/test/val/bug1838.c +++ b/test/val/bug1838.c @@ -1,11 +1,11 @@ /* Bug 1838 - function parameters declared as function types rather than function pointers */ #include - + static int failures = 0; typedef int fn_t(int); - + int main(void) { void foo(fn_t*); diff --git a/test/val/bug1847-struct-field-access.c b/test/val/bug1847-struct-field-access.c index 55ead7ec7..f7e19e40b 100644 --- a/test/val/bug1847-struct-field-access.c +++ b/test/val/bug1847-struct-field-access.c @@ -41,6 +41,6 @@ int main(void) { if (failures > 0) { printf("Failures: %u\n", failures); } - + return failures; } From 1cbd6bc3f93ad029d30e5a3062c5db483a7a8c4e Mon Sep 17 00:00:00 2001 From: acqn Date: Thu, 29 Sep 2022 18:23:41 +0800 Subject: [PATCH 2/2] Fixed comments in test/val/bug1462-biefield-assign-4.c. --- test/val/bug1462-biefield-assign-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/val/bug1462-biefield-assign-4.c b/test/val/bug1462-biefield-assign-4.c index f811ddbd6..e607dbd25 100644 --- a/test/val/bug1462-biefield-assign-4.c +++ b/test/val/bug1462-biefield-assign-4.c @@ -1,6 +1,6 @@ /* issue #1462 - Bit-fields are still broken */ -/* More tests on "op= expression result value" that a naive fix might fail with */ +/* When (un-)signedness involves with integral promotion */ #include #include