1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Verifier/SelfReferential.ll
Chris Lattner 2611fe98b7 Fix this test.
llvm-svn: 47791
2008-03-01 09:00:21 +00:00

10 lines
227 B
LLVM

; RUN: not llvm-as -f %s -o /dev/null |& grep {Only PHI nodes may reference their own value}
; Test that self referential instructions are not allowed
define void @test() {
%A = add i32 %A, 0 ; <i32> [#uses=1]
ret void
}