1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-attributes
2 ; RUN: opt < %s -passes=function-attrs -S | FileCheck %s
5 ; CHECK: Function Attrs: nofree memory(read)
8 ; CHECK-NEXT: [[TMP:%.*]] = call i32 @e()
9 ; CHECK-NEXT: ret i32 [[TMP]]
16 declare i32 @e() readonly