New testcase for bug that messes up the CWriter
llvm-svn: 4082
This commit is contained in:
parent
b7368500dc
commit
a1dc570868
|
@ -0,0 +1,12 @@
|
|||
; RUN: if as < %s | opt -raise | dis | grep call | grep \.\.\.
|
||||
; RUN: then exit 1
|
||||
; RUN: else exit 0
|
||||
; RUN: fi
|
||||
|
||||
implementation
|
||||
|
||||
void %test(sbyte* %P) {
|
||||
%Q = cast sbyte* %P to void (...)*
|
||||
call void (...)* %Q(sbyte* %P)
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue