repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20050119-1.c
blob
4f14ea434704c4aad40ade2bf44997c48fe4cfd8
1
void
write_char
(
char
);
2
int
len
(
char
*);
3
void
f
(
char
*
a
)
4
{
5
int
col
=
0
;
6
int
i
;
7
void
wchar
(
char
c
)
8
{
9
if
(
c
==
'
\t
'
)
10
{
11
do
{
12
wchar
(
' '
);
13
}
while
((
col
%
8
)!=
0
);
14
}
15
else
16
{
17
write_char
(
c
);
18
col
++;
19
}
20
}
21
for
(
i
=
0
;
i
<
len
(
a
);
i
++)
22
{
23
wchar
(*
a
);
24
}
25
}