Home | History | Annotate | Download | only in Verifier
      1 ; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
      2 
      3 declare void @llvm.experimental.stackmap(i64, i32)
      4 declare void @llvm.donothing(...)
      5 
      6 define void @foo1() {
      7   call void @llvm.experimental.stackmap(i64 0, i32 12)
      8 ; CHECK: Callsite was not defined with variable arguments!
      9   ret void
     10 }
     11 
     12 define void @foo2() {
     13   call void (...) @llvm.donothing(i64 0, i64 1)
     14 ; CHECK: Intrinsic was not defined with variable arguments!
     15   ret void
     16 }
     17