blob: 4b280a010f03774bf2a5dac69da1cbba41467d12 [file] [log] [blame]
Owen Anderson39fcd232015-03-13 06:41:26 +00001; RUN: opt -verify < %s
2
3%struct.__sFILE = type { %struct.__sFILE }
4
5@.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1
6
7; Function Attrs: nounwind ssp
8define void @test(%struct.__sFILE* %stream, i8* %str) {
9 %fputs = call i32 @fputs(i8* %str, %struct.__sFILE* %stream)
10 ret void
11}
12
13; Function Attrs: nounwind
14declare i32 @fputs(i8* nocapture, %struct.__sFILE* nocapture)
15