commit f02dbe96555a01743b6db755e7bfedda0997a699
parent 9deb75fddd4c40777de3cebec427704e2509a55f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 26 Oct 2022 22:15:51 +0200
test/cc: Fix error/0023-include.c
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/cc/error/0023-include.c b/tests/cc/error/0023-include.c
@@ -1,6 +1,10 @@
/*
* Test a comment that goes beyond of the end of an
* included file
- */
+PATTERN:
+0023-include.h:8: error: unterminated comment
+0023-include.c:10: error: #endif expected
+.
+*/
#include "0023-include.h"
diff --git a/tests/cc/error/scc-tests.lst b/tests/cc/error/scc-tests.lst
@@ -20,7 +20,7 @@
0020-storage.c
0021-void.c
0022-cpp-if.c [TODO]
-0023-include.c [TODO]
+0023-include.c
0024-lvale-cast.c [TODO]
0025-bad-init.c [TODO]
0026-numargs.c [TODO]