mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 16:53:02 +00:00
New testcase for bug that messes up the CWriter
llvm-svn: 4082
This commit is contained in:
parent
d68e6d1718
commit
2da5975c47
@ -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…
x
Reference in New Issue
Block a user