blob: 04bbab8b5786cf626d1a45ad3d948b19d9021995 (
plain)
1
2
3
4
5
6
7
8
9
|
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | notcast
declare void %free(sbyte*)
void %test(int* %X) {
call int (...)* cast (void (sbyte*)* %free to int (...)*)(int * %X)
ret void
}
|