1 ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info 2>&1 | FileCheck %s
3 declare i32* @captures(i32* %cap) nounwind readonly
5 define void @no(i32* noalias %a, i32* %b) nounwind {
8 %cap = call i32* @captures(i32* %a) nounwind readonly
13 ; CHECK: NoAlias: i32* %a, i32* %b
15 define void @yes(i32* %c, i32* %d) nounwind {
18 %cap = call i32* @captures(i32* %c) nounwind readonly
19 %l = load i32, i32* %d
23 ; CHECK: MayAlias: i32* %c, i32* %d