aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/DSGraph/HardBUCase.ll
blob: 63ec3faca063b0f406d1890723f1416a381f3cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; 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
}