Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cc
/
.
/
test
/
Verifier
/
SelfReferential.ll
blob: 1f7b837b32f589b5a281e727ab08b1e6ce72a0a2 [
file
] [
log
] [
blame
]
Dan Gohman
f17a25c
2007-07-18 16:29:46 +0000
[
diff
] [
blame^
]
1
; RUN: not llvm-as -f %s -o /dev/null
2
3
; Test that self referential instructions are not allowed
4
5
implementation
6
7
void
"test"
()
8
begin
9
%A
=
add
int
%A
,
0
10
ret
void
11
end