xref: /llvm-project/llvm/test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll (revision 4ab40eca080965c65802710e39adbb78c4ce7bde)
1; RUN: opt < %s -passes=instcombine -S | not grep bitcast
2; PR1716
3
4@.str = internal constant [4 x i8] c"%d\0A\00"		; <ptr> [#uses=1]
5
6define i32 @main(i32 %argc, ptr %argv) {
7entry:
8	%tmp32 = tail call i32 (ptr  , ...) @printf( ptr @.str  , i32 0 ) nounwind 		; <i32> [#uses=0]
9	ret i32 undef
10}
11
12declare i32 @printf(ptr, ...) nounwind
13