1 ; RUN: opt -S -functionattrs < %s | FileCheck %s
2 ; RUN: opt -S -passes=function-attrs < %s | FileCheck %s
7 ; CHECK-LABEL: define void @foo() #0 {
14 ; CHECK-LABEL: define void @bar() #0 {
15 %i = load i32, i32* @i
20 ; CHECK: attributes #0 = { nofree nounwind }