| Tanya Lattner | cd0aa81 | 2004-11-06 21:40:51 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc |
| 2 | |||||
| Misha Brukman | 5b160f1 | 2004-08-11 14:16:34 +0000 | [diff] [blame] | 3 | int %bar(int %x) { |
| 4 | ret int 0 | ||||
| 5 | } | ||||
| 6 | |||||
| 7 | int %foo(int %x) { | ||||
| 8 | %q = call int %bar(int 1) | ||||
| 9 | ret int %q | ||||
| 10 | } | ||||
| 11 | |||||
| 12 | int %main() { | ||||
| 13 | %r = call int %foo(int 2) | ||||
| 14 | ret int %r | ||||
| 15 | } | ||||