merge some tests.
[oota-llvm.git] / test / Transforms / InstCombine / call-cast-target.ll
1 ; RUN: opt < %s -instcombine -S | \
2 ; RUN:   grep call | not grep bitcast
3
4 target datalayout = "e-p:32:32"
5 target triple = "i686-pc-linux-gnu"
6
7 define i32 @main() {
8 entry:
9         %tmp = call i32 bitcast (i8* (i32*)* @ctime to i32 (i32*)*)( i32* null )          ; <i32> [#uses=1]
10         ret i32 %tmp
11 }
12
13 declare i8* @ctime(i32*)
14