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