Michael Kuperstein | 79dcc27 | 2016-09-20 23:10:31 +0000 | [diff] [blame] | 1 | ; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -inferattrs -S | FileCheck %s |
2 | %struct.statvfs64 = type { i32 } | ||||
3 | |||||
4 | ; Function Attrs: norecurse uwtable | ||||
5 | define i32 @foo() { | ||||
6 | entry: | ||||
7 | %st = alloca %struct.statvfs64, align 4 | ||||
8 | %0 = bitcast %struct.statvfs64* %st to i8* | ||||
9 | ret i32 0 | ||||
10 | } | ||||
11 | |||||
12 | ; CHECK: declare i32 @statvfs64(%struct.statvfs64*){{$}} | ||||
13 | declare i32 @statvfs64(%struct.statvfs64*) |