brintos

brintos / llvm-project-archived public Read only

0
0
Text · 437 B · 26fe61f Raw
17 lines · plain
1; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s2 3declare void @llvm.experimental.stackmap(i64, i32)4declare void @llvm.donothing(...)5 6define void @foo1() {7  call void @llvm.experimental.stackmap(i64 0, i32 12)8; CHECK: Callsite was not defined with variable arguments!9  ret void10}11 12define void @foo2() {13  call void (...) @llvm.donothing(i64 0, i64 1)14; CHECK: Intrinsic was not defined with variable arguments!15  ret void16}17