commit 0df4f021feb170f1dbd7ec5946234f6a6334b167
parent b5a123a0a108eef52d9e7df25e63707a55a32b99
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 25 Jan 2016 12:27:25 +0100
Fix tests after commit a564aad
This commit introduced type in size of arrays, but
tests were not updated after it.
Diffstat:
13 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/cc1/tests/test001.c b/cc1/tests/test001.c
@@ -6,7 +6,7 @@ output:
G6 F "main
{
\
-V8 K #13
+V8 K #N13
Y7 V8 "
(
#"hello world
diff --git a/cc1/tests/test018.c b/cc1/tests/test018.c
@@ -6,12 +6,12 @@ output:
G2 F "main
{
\
-V3 K #4
-V4 V3 #2
+V3 K #N4
+V4 V3 #N2
A5 V4 "arr
A7 P "p
A9 P "q
-V10 I #4
+V10 I #N4
A11 V10 "v
A7 A5 'P :P
A9 A5 'P #P4 +P #P3 +P :P
diff --git a/cc1/tests/test026.c b/cc1/tests/test026.c
@@ -9,7 +9,7 @@ G3 F "main
\
A4 I "y
A6 P "p
-V8 K #10
+V8 K #N10
Y7 V8 "
(
#"test026.c
diff --git a/cc1/tests/test027.c b/cc1/tests/test027.c
@@ -8,7 +8,7 @@ G3 F "main
{
\
A5 P "p
-V7 K #25
+V7 K #N25
Y6 V7 "
(
#"hello is better than bye
diff --git a/cc1/tests/test028.c b/cc1/tests/test028.c
@@ -7,7 +7,7 @@ output:
G6 F "foo
{
\
-V8 K #3
+V8 K #N3
Y10 V8 "
(
#"hi
diff --git a/cc1/tests/test032.c b/cc1/tests/test032.c
@@ -7,7 +7,7 @@ output:
G5 F "main
{
\
-V9 K #44
+V9 K #N44
Y8 V9 "
(
#"This is a string $ or # or ##and it is ok !
diff --git a/cc1/tests/test046.c b/cc1/tests/test046.c
@@ -3,7 +3,7 @@ name: TEST046
description: Basic test for initializators
error:
output:
-V1 I #3
+V1 I #N3
G2 V1 "x
(
#I1
diff --git a/cc1/tests/test048.c b/cc1/tests/test048.c
@@ -6,7 +6,7 @@ output:
S2 S
M3 I "a
M4 I "b
-V5 S2 #1
+V5 S2 #N1
G6 V5 "x
(
#I1
diff --git a/cc1/tests/test051.c b/cc1/tests/test051.c
@@ -3,7 +3,7 @@ name: TEST051
description: Basic test for initializer
error:
output:
-V1 I #3
+V1 I #N3
G2 V1 "arr
(
#I0
diff --git a/cc1/tests/test052.c b/cc1/tests/test052.c
@@ -6,7 +6,7 @@ output:
S2 S
M3 I "a
M4 I "b
-V5 S2 #2
+V5 S2 #N2
G6 V5 "arr
(
#I1
diff --git a/cc1/tests/test056.c b/cc1/tests/test056.c
@@ -3,7 +3,7 @@ name: TEST056
desciption: Test of overlaying designators
error:
output:
-V6 K #3
+V6 K #N3
S2 S
M3 I "a
M4 I "b
@@ -20,7 +20,7 @@ G9 S2 "s
#K0
#I0
)
-V10 K #0
+V10 K #N0
G11 V10 "m
(
)
diff --git a/cc1/tests/test057.c b/cc1/tests/test057.c
@@ -4,8 +4,8 @@ name: TEST057
description: test of initialization of incomplete arrays
error:
output:
-V1 I #3
-V2 V1 #2
+V1 I #N3
+V2 V1 #N2
G3 V2 "arr1
(
#I2
diff --git a/cc1/tests/test058.c b/cc1/tests/test058.c
@@ -3,9 +3,9 @@ name: TEST058
description: Test of initialization mixing designators and sequence
error:
output:
-V1 I #5
-V2 V1 #3
-V3 V2 #2
+V1 I #N5
+V2 V1 #N3
+V3 V2 #N2
G4 V3 "arr
(
#I0