Merge pull request #1861 from acqn/TestcaseFix

[cc65] Testcase whitespace/comments fixes
This commit is contained in:
Bob Andrews
2022-09-29 17:53:14 +02:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
/* issue #1462 - Bit-fields are still broken */ /* 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 <stdio.h> #include <stdio.h>
#include <limits.h> #include <limits.h>

View File

@@ -1,11 +1,11 @@
/* Bug 1838 - function parameters declared as function types rather than function pointers */ /* Bug 1838 - function parameters declared as function types rather than function pointers */
#include <stdio.h> #include <stdio.h>
static int failures = 0; static int failures = 0;
typedef int fn_t(int); typedef int fn_t(int);
int main(void) int main(void)
{ {
void foo(fn_t*); void foo(fn_t*);

View File

@@ -41,6 +41,6 @@ int main(void) {
if (failures > 0) { if (failures > 0) {
printf("Failures: %u\n", failures); printf("Failures: %u\n", failures);
} }
return failures; return failures;
} }