shithub: scc

Download patch

ref: 6fb98ed567851ab63fb751f1538519cafd40ec88
parent: b49ee206468a789cd58b73c1012f4eab381bbb63
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Sep 17 18:01:35 EDT 2015

Update tests after commit b49ee20

--- 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: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 @@
 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
--- 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 @@
 	y	A4
 	y	A3	M11	.S5	M6	.I	A3	M11	.S5	M10	.S8	M9	.I	+I
 L2
-????
 */
 
 typedef struct s s;
--- a/cc1/tests/test016.c
+++ b/cc1/tests/test016.c
@@ -3,7 +3,6 @@
 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 @@
 	A2	#P0	:P
 	y	A1
 }
-????
+test016.c:47: error: incompatible types when assigning
 */
 
 #line 1