
%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
}

Check in old testcase sitting in my tree
Check in old testcase sitting in my tree


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@7277 91177308-0d34-0410-b5e6-96231b3b80d8
