Adding C and Ocaml bindings for ConstantExpr.
[oota-llvm.git] / test / Assembler / 2007-02-07-UpgradeGVarConflict.ll
1 ; For PR1187
2 ; RUN: llvm-upgrade < %s > /dev/null
3
4 %struct.isc_hash_t = type { uint, sbyte*, int, uint, uint, 
5                             [4 x ubyte], ulong, ushort* }
6 %hash = internal global %struct.isc_hash_t* null
7
8 implementation
9
10 void %somefunc() {
11   %key_addr = alloca sbyte*
12   %tmp21 = load sbyte** %key_addr
13   %tmp22 = call fastcc uint %hash(sbyte* %tmp21, uint 0)
14   ret void
15 }
16
17 internal fastcc uint %hash(sbyte* %key, uint %case_sensitive) {
18   ret uint 0
19 }