blob: aa5b79b3a9b95e7158f291142f9002a4182d78f2 [file] [log] [blame]
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast
declare void %free(sbyte*)
void %test(int* %X) {
call int (...)* cast (void (sbyte*)* %free to int (...)*)(int * %X)
ret void
}