llvm-6502/test/Analysis/DSGraph/HardBUCase.ll
2006-08-27 22:47:14 +00:00

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
}