1 ; RUN: opt < %s -basicaa -functionattrs -S | FileCheck %s
2 ; RUN: opt < %s -aa-pipeline=basic-aa -passes=function-attrs -S | FileCheck %s
4 ; CHECK: define i32 @f() #0
11 ; CHECK: declare i32 @e() #0
12 declare i32 @e() readonly
14 ; CHECK: attributes #0 = { readonly }