scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit f9a9c99baffaf19ec52260e79eaf1b0cd76940c4
parent c31a2b36325ec5d3d82ce24209a5c7f5f9a8c041
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 20 Jan 2016 10:51:21 +0100

Fix tests that use strings

Trailing 0 is added to strings now, so these tests must be updated.

Diffstat:
Mcc1/tests/test001.c | 2+-
Mcc1/tests/test026.c | 2+-
Mcc1/tests/test027.c | 2+-
Mcc1/tests/test028.c | 2+-
Mcc1/tests/test032.c | 2+-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/cc1/tests/test001.c b/cc1/tests/test001.c @@ -10,7 +10,7 @@ F5 I G6 F5 main { \ - X4 "68656C6C6F20776F726C640A 'P pP cI + X4 "68656C6C6F20776F726C640A00 'P pP cI r #I0 } diff --git a/cc1/tests/test026.c b/cc1/tests/test026.c @@ -11,7 +11,7 @@ G3 F2 main \ A4 I y A6 P p - A6 "746573743032362E63 'P :P + A6 "746573743032362E6300 'P :P A4 #I21 :I A4 #I1 :I A4 #I1 :I diff --git a/cc1/tests/test027.c b/cc1/tests/test027.c @@ -10,7 +10,7 @@ G3 F2 main { \ A5 P p - A5 "68656C6C6F20697320626574746572207468616E20627965 'P :P + A5 "68656C6C6F20697320626574746572207468616E2062796500 'P :P r A5 @K gI } diff --git a/cc1/tests/test028.c b/cc1/tests/test028.c @@ -9,7 +9,7 @@ F5 P G6 F5 foo { \ - r "6869 'P + r "686900 'P } */ diff --git a/cc1/tests/test032.c b/cc1/tests/test032.c @@ -10,7 +10,7 @@ G4 F3 main { \ A6 P p - A6 "54686973206973206120737472696E672024206F722023206F72202323616E64206974206973206F6B2021 'P :P + A6 "54686973206973206120737472696E672024206F722023206F72202323616E64206974206973206F6B202100 :P r A6 #P0 !I }