xref: /llvm-project/llvm/test/Transforms/InferFunctionAttrs/pr30455.ll (revision f5e03912e766dcb43fa6c71f990068cee259bb31)
1; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes=inferattrs -S | FileCheck %s
2%struct.statvfs64 = type { i32 }
3
4; Function Attrs: norecurse uwtable
5define i32 @foo() {
6entry:
7  %st = alloca %struct.statvfs64, align 4
8  ret i32 0
9}
10
11; CHECK: declare i32 @statvfs64(ptr){{$}}
12declare i32 @statvfs64(ptr)
13