1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Fix this test.

llvm-svn: 47791
This commit is contained in:
Chris Lattner 2008-03-01 09:00:21 +00:00
parent 1e21cae4cd
commit 2611fe98b7

View File

@ -1,11 +1,9 @@
; RUN: not llvm-as -f %s -o /dev/null
; 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
implementation
void "test"()
begin
%A = add int %A, 0
define void @test() {
%A = add i32 %A, 0 ; <i32> [#uses=1]
ret void
end
}