mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
2611fe98b7
llvm-svn: 47791
10 lines
227 B
LLVM
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
|
|
}
|
|
|