New testcase for bug that messes up the CWriter

llvm-svn: 4082
This commit is contained in:
Chris Lattner 2002-10-08 21:57:49 +00:00
parent b7368500dc
commit a1dc570868
1 changed files with 12 additions and 0 deletions

View File

@ -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
}