Chris Lattner | 70cc339 | 2001-09-10 07:58:01 +0000 | [diff] [blame] | 1 | |
2 | global %MyVar = int * | ||||
3 | global %MyIntList = { \2 *, int } * | ||||
4 | global int * ; int*:0 | ||||
5 | |||||
6 | implementation | ||||
7 | |||||
8 | int "foo"(int %blah) | ||||
9 | begin | ||||
10 | store int 5, int *%MyVar | ||||
11 | store int 12, { \2 *, int } * %MyIntList, ubyte 1 | ||||
12 | ret int %blah | ||||
13 | end | ||||
14 |