scc

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

commit 6fb98ed567851ab63fb751f1538519cafd40ec88
parent b49ee206468a789cd58b73c1012f4eab381bbb63
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 17 Sep 2015 22:01:35 +0200

Update tests after commit b49ee20

Diffstat:
Mcc1/tests/test014.c | 13++++++-------
Mcc1/tests/test015.c | 3+--
Mcc1/tests/test016.c | 3+--
3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/cc1/tests/test014.c b/cc1/tests/test014.c @@ -11,12 +11,6 @@ test014.c:22: warning: 'par' defined but not used test014.c:22: warning: 'par' defined but not used test014.c:27: warning: 'par' defined but not used test014.c:29: error: incorrect storage class for file-scope declaration -test014.c:29: error: invalid storage class for function 'd' -test014.c:32: error: bad storage class in function parameter -test014.c:33: error: invalid storage class for function 'func4' -test014.c:34: error: invalid type specification -test014.c:35: warning: 'f' defined but not used -test014.c:38: error: conflicting types for 'd' G1 I a Y2 M b X3 I c @@ -43,7 +37,12 @@ T7 F2 func3 R1 I par - } -???? +test014.c:29: error: invalid storage class for function 'd' +test014.c:32: error: bad storage class in function parameter +test014.c:33: error: invalid storage class for function 'func4' +test014.c:34: error: invalid type specification +test014.c:35: warning: 'f' defined but not used +test014.c:38: error: conflicting types for 'd' */ #line 1 diff --git a/cc1/tests/test015.c b/cc1/tests/test015.c @@ -2,7 +2,7 @@ name: TEST015 description: Stress namespace mechanism output: -test015.c:60: error: label 's' already defined +test015.c:58: error: label 's' already defined S8 s2 ( M9 I s @@ -27,7 +27,6 @@ A4 I s y A4 y A3 M11 .S5 M6 .I A3 M11 .S5 M10 .S8 M9 .I +I L2 -???? */ typedef struct s s; diff --git a/cc1/tests/test016.c b/cc1/tests/test016.c @@ -3,7 +3,6 @@ name: TEST016 description: Basic pointer test output: test016.c:43: error: redefinition of 'func2' -test016.c:47: error: incompatible types when assigning G1 I g F1 G2 F1 func1 @@ -40,7 +39,7 @@ L5 A2 #P0 :P y A1 } -???? +test016.c:47: error: incompatible types when assigning */ #line 1