blob: aa5b79b3a9b95e7158f291142f9002a4182d78f2 (
plain)
1
2
3
4
5
6
7
8
9
|
; 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
}
|