For PR1319:
[oota-llvm.git] / test / Transforms / InstCombine / call-cast-target.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | \
2 ; RUN:   grep call | not grep bitcast
3
4 target endian = little
5 target pointersize = 32
6 target triple = "i686-pc-linux-gnu"
7
8 implementation   ; Functions:
9
10 int %main() {
11 entry:
12         %tmp = call int cast (sbyte* (int*)* %ctime to int (int*)*)( int* null )
13         ret int %tmp
14 }
15
16 declare sbyte* %ctime(int*)