scc

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

commit 25f2ff5ba7d7774ae332612e1a41b6c8157d2e98
parent f02dbe96555a01743b6db755e7bfedda0997a699
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 26 Oct 2022 22:18:00 +0200

test/cc: Fix error/0024-lvale-cast.c

Diffstat:
Mtests/cc/error/0024-lvale-cast.c | 6++++++
Mtests/cc/error/scc-tests.lst | 2+-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/cc/error/0024-lvale-cast.c b/tests/cc/error/0024-lvale-cast.c @@ -1,3 +1,9 @@ +/* +PATTERN: +0024-lvale-cast.c:12: error: lvalue required in operation +. +*/ + int main() { diff --git a/tests/cc/error/scc-tests.lst b/tests/cc/error/scc-tests.lst @@ -21,7 +21,7 @@ 0021-void.c 0022-cpp-if.c [TODO] 0023-include.c -0024-lvale-cast.c [TODO] +0024-lvale-cast.c 0025-bad-init.c [TODO] 0026-numargs.c [TODO] 0027-constoverflow.c [TODO]