1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S -passes=instcombine < %s | FileCheck %s
4 @.str = private constant [13 x i8] c"an error: %d\00"
6 declare i32 @fprintf(ptr, ...)
10 ; CHECK-NEXT: [[CALL:%.*]] = call i32 (ptr, ...) @fprintf(ptr nonnull @.str)
11 ; CHECK-NEXT: ret i32 0
13 %call = call i32 (ptr, ...) @fprintf(ptr @.str)