llvm-6502/test/Analysis/DSGraph/HardBUCase.ll
2006-12-02 04:23:10 +00:00

21 lines
353 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}