mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
d52e1b0dbe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29927 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
338 B
LLVM
21 lines
338 B
LLVM
; RUN: llvm-as < %s | opt -analyze -budatastructure -dont-print-ds
|
|
|
|
%MidFnTy = type void (\2*)
|
|
|
|
implementation
|
|
|
|
int %main() {
|
|
call %MidFnTy* %Mid(%MidFnTy* %Mid)
|
|
ret int 0
|
|
}
|
|
|
|
internal void %Mid(%MidFnTy *%F) {
|
|
call void %Bottom(%MidFnTy* %F)
|
|
ret void
|
|
}
|
|
|
|
internal void %Bottom(%MidFnTy* %F) {
|
|
call void %F(%MidFnTy* %Mid)
|
|
ret void
|
|
}
|