• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=c
2
3; This testcase breaks the C backend, because gcc doesn't like (...) functions
4; with no arguments at all.
5
6define void @test(i64 %Ptr) {
7        %P = inttoptr i64 %Ptr to void (...)*           ; <void (...)*> [#uses=1]
8        call void (...)* %P( i64 %Ptr )
9        ret void
10}
11
12