1*9880d681SAndroid Build Coastguard Worker; RUN: opt -verify < %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker%struct.__sFILE = type { %struct.__sFILE } 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker@.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind ssp 8*9880d681SAndroid Build Coastguard Workerdefine void @test(%struct.__sFILE* %stream, i8* %str) { 9*9880d681SAndroid Build Coastguard Worker %fputs = call i32 @fputs(i8* %str, %struct.__sFILE* %stream) 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 14*9880d681SAndroid Build Coastguard Workerdeclare i32 @fputs(i8* nocapture, %struct.__sFILE* nocapture) 15*9880d681SAndroid Build Coastguard Worker 16