llvm-6502/test/Verifier/SelfReferential.ll

12 lines
168 B
LLVM
Raw Normal View History

; 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