scc

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

commit 204960d4e839953472c11204ea6b2e893019cc0e
parent 6c048208cdea11ad20bb09c24363cf7065bdc217
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  3 Oct 2016 13:42:10 +0200

[cc1] Fix cc1 tests after 9761a80

Diffstat:
Mcc1/tests/test002.c | 2+-
Mcc1/tests/test030.c | 4++--
Mcc1/tests/test040.c | 4++--
Mcc1/tests/test043.c | 2+-
4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cc1/tests/test002.c b/cc1/tests/test002.c @@ -9,7 +9,7 @@ G4 P "x G8 I F "main { \ -S2 "S #NC #N2 +S2 "S #N8 #N2 M5 I "i #N0 M6 P "next #N2 A9 S2 "y diff --git a/cc1/tests/test030.c b/cc1/tests/test030.c @@ -7,12 +7,12 @@ error: output: G14 I F "f1 { -S2 "foo #N24 #N2 +S2 "foo #N18 #N2 M3 I "i #N0 M4 I "j #N2 M5 I "k #N4 M7 P "p #N6 -M8 J "v #NE +M8 J "v #N8 A9 S2 "f A11 P "p A12 I "n diff --git a/cc1/tests/test040.c b/cc1/tests/test040.c @@ -8,10 +8,10 @@ output: G9 I F "main { \ -S2 "List #N1C #N2 +S2 "List #NC #N2 M4 I "len #N0 M6 P "head #N2 -M7 P "back #N6 +M7 P "back #N4 A10 S2 "List h A10 M4 .I } diff --git a/cc1/tests/test043.c b/cc1/tests/test043.c @@ -5,7 +5,7 @@ name: TEST043 description: Test for double typedef (taken from plan9 kernel) error: output: -S2 "Clock0link #NC #N2 +S2 "Clock0link #N8 #N2 M6 P "clock #N0 M8 P "link #N2 G9 S2 "cl0