New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-05-13 20:11:21 +00:00
parent a9028e68b1
commit f3b467c243
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
; This testcase breaks the C backend, because gcc doesn't like (...) functions
; with no arguments at all.
void %test(long %Ptr) {
%P = cast long %Ptr to void(...) *
call void(...)* %P(long %Ptr)
ret void
}

View File

@ -0,0 +1,8 @@
; This testcase breaks the C backend, because gcc doesn't like (...) functions
; with no arguments at all.
void %test(long %Ptr) {
%P = cast long %Ptr to void(...) *
call void(...)* %P(long %Ptr)
ret void
}