| Tanya Lattner | 2393a24 | 2004-11-06 23:08:26 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as -f %s -o /dev/null |
| 2 | |||||
| Chris Lattner | 1d2535c | 2002-04-18 20:30:58 +0000 | [diff] [blame] | 3 | ; Test that self referential instructions are not allowed |
| 4 | |||||
| 5 | implementation | ||||
| 6 | |||||
| 7 | void "test"() | ||||
| 8 | begin | ||||
| 9 | %A = add int %A, 0 | ||||
| 10 | ret void | ||||
| 11 | end | ||||