scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

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:
Mtests/cc/error/0029-eof.c | 9+++++++++
Mtests/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