commit e91b51fe19fc58e4814eed28fda80ed3990078ea parent 27bc20af3ec698c55c4b7903339b4354c70516db Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Wed, 26 Oct 2022 13:46:27 +0200 tests/cc: Enable error/0029-eof.c test Diffstat:
M | tests/cc/error/0029-eof.c | | | 9 | +++++++++ |
M | tests/cc/error/scc-tests.lst | | | 1 | + |
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/tests/cc/error/0029-eof.c b/tests/cc/error/0029-eof.c @@ -1,2 +1,11 @@ +/* +PATTERN: +0029-eof.c:11: error: unexpected '<EOF>' +0029-eof.c:11: warning: type defaults to 'int' in declaration +0029-eof.c:11: error: expected ')' before '<EOF>' +0029-eof.c:11: error: expected ';' before '<EOF>' +. +*/ + int main( diff --git a/tests/cc/error/scc-tests.lst b/tests/cc/error/scc-tests.lst @@ -26,3 +26,4 @@ 0026-numargs.c [TODO] 0027-constoverflow.c [TODO] 0028-noconstinit.c [TODO] +0029-eof.c