Target/X86: Tweak allocating shadow area (aka home) on Win64. It must be enough for...
[oota-llvm.git] / test / Verifier / SelfReferential.ll
index 1f7b837b32f589b5a281e727ab08b1e6ce72a0a2..70154b77a8233184a4bda6b3ee5774d42ad0635b 100644 (file)
@@ -1,11 +1,9 @@
-; RUN: not llvm-as -f %s -o /dev/null
+; 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
 
-implementation
-
-void "test"()
-begin
-       %A = add int %A, 0
+define void @test() {
+       %A = add i32 %A, 0              ; <i32> [#uses=1]
        ret void
-end
+}
+