| Chris Lattner | 1be86ca | 2001-10-13 07:15:38 +0000 | [diff] [blame^] | 1 | |
| 2 | %MyVar = global int 4 | ||||
| 3 | %MyIntList = uninitialized global { \2 *, int } | ||||
| 4 | |||||
| 5 | %AConst = constant int 123 | ||||
| 6 | |||||
| 7 | implementation | ||||
| 8 | |||||
| 9 | int "foo"(int %blah) | ||||
| 10 | begin | ||||
| 11 | store int %blah, int *%MyVar | ||||
| 12 | store int 12, { \2 *, int } * %MyIntList, ubyte 1 | ||||
| 13 | ret int %blah | ||||
| 14 | end | ||||
| 15 | |||||