* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20050119-1.c
blob4f14ea434704c4aad40ade2bf44997c48fe4cfd8
1 void write_char(char);
2 int len(char*);
3 void f(char *a)
5 int col = 0;
6 int i;
7 void wchar(char c)
9 if (c == '\t')
11 do {
12 wchar(' ');
13 } while ((col%8)!=0);
15 else
17 write_char (c);
18 col++;
21 for(i =0;i<len(a);i++)
23 wchar(*a);