Sign in
llvm
/
llvm-project
/
refs/heads/release/2.1.x
/
.
/
llvm
/
test
/
Verifier
/
SelfReferential.ll
blob: 1f7b837b32f589b5a281e727ab08b1e6ce72a0a2 [
file
] [
log
] [
blame
]
; 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