Added missing test
git-svn-id: http://picoc.googlecode.com/svn/trunk@397 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
a648f2cf27
commit
83ded6eb54
12
tests/36_array_initialisers.c
Normal file
12
tests/36_array_initialisers.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
int Count;
|
||||
|
||||
int Array[10] = { 12, 34, 56, 78, 90, 123, 456, 789, 8642, 9753 };
|
||||
|
||||
for (Count = 0; Count < 10; Count++)
|
||||
printf("%d: %d\n", Count, Array[Count]);
|
||||
|
||||
int Array2[10] = { 12, 34, 56, 78, 90, 123, 456, 789, 8642, 9753, };
|
||||
|
||||
for (Count = 0; Count < 10; Count++)
|
||||
printf("%d: %d\n", Count, Array2[Count]);
|
||||
|
20
tests/36_array_initialisers.expect
Normal file
20
tests/36_array_initialisers.expect
Normal file
|
@ -0,0 +1,20 @@
|
|||
0: 12
|
||||
1: 34
|
||||
2: 56
|
||||
3: 78
|
||||
4: 90
|
||||
5: 123
|
||||
6: 456
|
||||
7: 789
|
||||
8: 8642
|
||||
9: 9753
|
||||
0: 12
|
||||
1: 34
|
||||
2: 56
|
||||
3: 78
|
||||
4: 90
|
||||
5: 123
|
||||
6: 456
|
||||
7: 789
|
||||
8: 8642
|
||||
9: 9753
|
Loading…
Reference in a new issue