1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Verifier/SelfReferential.ll
2007-01-17 07:59:14 +00:00

12 lines
168 B
LLVM

; RUN: not llvm-as -f %s -o /dev/null
; Test that self referential instructions are not allowed
implementation
void "test"()
begin
%A = add int %A, 0
ret void
end