mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
6d45a2e32b
llvm-svn: 17517
21 lines
321 B
LLVM
21 lines
321 B
LLVM
; RUN: analyze %s -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
|
|
}
|