annotate test/tmp12.c @ 161:cc2fc5c0dfe5 struct-field-fix

struct field fix
author kono
date Sun, 23 Nov 2003 22:40:26 +0900
parents
children 096559f07a70
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);
cc2fc5c0dfe5 struct field fix
kono
parents:
diff changeset
16 }