cfad47cfa3/t3compiler/tads3/test/log/ansi.log

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
#line 1 "ansi.c"
2
 
3
4
5
6
7
 
8
file = 'ansi.c';
9
line = 8;
10
11
 
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
f(2 * (0)) + t(1);
27
f(2 * (f(2 * (z[0]))));
28
f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);
29
f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))
30
^m(0,1);
31
32
"Result should be:";
33
"f(2 * (0)) + t(1);";
34
"f(2 * (f(2 * (z[0]))));";
35
"f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);";
36
"f(2 * (2+(3,4)-0,1)) | f(2 * (~5)) & f(2 * (0,1))^m(0,1);";
37
38
 
39
40
41
42
43
44
45
46
47
48
49
 
50
51
52
53
 
54
55
56
57
58
#line 59 "ansi.c"
59
60
 
61
ansi.c(61): warning: redefinition of macro "OBJ_LIKE"
62
63
ansi.c(62): warning: redefinition of macro "OBJ_LIKE"
64
65
ansi.c(63): warning: redefinition of macro "FTN_LIKE"
66
67
ansi.c(64): warning: redefinition of macro "FTN_LIKE"
68
69
70
 
71
72
73
74
75
 
76
77
78
79
80
81
82
#line 79 "ansi.c"
83
84
85
86
87
88
89
printf("x" "1" "= %d, x" "2" "= %s",                                 x1, x2);
90
fputs("strncmp(\"abc\\0d\", \"abc\", '\\4') == 0"
91
 ": @\n", s);
92
93
#line 1 "vers2.h"
94
"This is vers2.h - this header is for inclusion from the ansi.c test file.";
95
#line 89 "ansi.c"
96
"hello";        >>> should be: "hello"
97
"hello" ", world";       >>> should be: "hello" ", world"
98
99
100
"should be:";
101
'printf("x" "1" "= %d, x" "2" "= %s", x1, x2);'
102
'fputs("strncmp(\"abc\\0d\", \"abc\", '\\4') == 0" ": @\n", s);'
103
'#include "vers2.h"    (after macro replacement, before file access)'
104
'"hello";'
105
'"hello" ", world";'
106
107
 
108
109
110
111
112
113
114
"should not expand macros on the following two lines";
115
ansi.c(108): error: cannot open include file "INCFILE"
116
117
ansi.c(109): error: cannot open include file "INCFILE"
118
119
120
121
122
"should expand macros on the following line";
123
124
#line 1 "vers2.h"
125
"This is vers2.h - this header is for inclusion from the ansi.c test file.";
126
#line 115 "ansi.c"
127
128
129
hash table: total 18, longest 1, average 0
130
number of buckets over average length: 18
131
number of empty buckets: 494
132
133
(T3VM) Memory blocks still in use:
134
135
Total blocks in use: 0