1 ; RUN: opt < %s -functionattrs -S | FileCheck %s
3 ; CHECK: define void @bar(i8* nocapture readnone)
4 define void @bar(i8* readonly) {
9 ; CHECK: define void @foo(i8* nocapture readnone)
10 define void @foo(i8* readonly) {
11 call void @bar(i8* %0)