1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes
2 ; RUN: opt -S -passes=function-attrs < %s | FileCheck %s
5 ; CHECK: Function Attrs: nofree nosync nounwind
6 ; CHECK-LABEL: define {{[^@]+}}@f
7 ; CHECK-SAME: () #[[ATTR0:[0-9]+]] {
8 ; CHECK-NEXT: call void @g() [ "unknown"() ]
11 call void @g() [ "unknown"() ]
16 ; CHECK: Function Attrs: nofree nosync nounwind
17 ; CHECK-LABEL: define {{[^@]+}}@g
18 ; CHECK-SAME: () #[[ATTR0]] {
19 ; CHECK-NEXT: call void @f()
20 ; CHECK-NEXT: ret void