1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/Verifier/SelfReferential.ll
Dan Gohman bf08e82d8e Remove obsolete -f flags.
llvm-svn: 79992
2009-08-25 15:38:29 +00:00

10 lines
224 B
LLVM

; RUN: not llvm-as %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
}