annotate test/tmp12.c @ 275:8f09f8bbc494

MIPS switch statement. basic.c passed.
author kono
date Fri, 21 May 2004 14:00:02 +0900
parents 096559f07a70
children 0c256ea2a97e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
161
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
1
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
2
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
3 struct {
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
4 int a;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
5 char *b;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
6 } x1;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
7
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
8 // int b;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
9
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
10 main()
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
11 {
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
12 int a;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
13 x1.a = 1;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
14 a = 133;
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
15 printf("%d %d\n",x1.a,a);
172
096559f07a70 some check
kono
parents: 161
diff changeset
16 return 0;
161
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
17 }