xref: /llvm-project/llvm/test/CodeGen/SystemZ/args-20.ll (revision f9fbfc587d793b25e5f3ea0c8fa1db949085b158)
1; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -argext-abi-check 2>&1 \
2; RUN:   | FileCheck %s
3; REQUIRES: asserts
4;
5; Test detection of missing extension of an outgoing i8 call argument.
6
7define void @caller() {
8  call void @bar_Struct(i8 123)
9  ret void
10}
11
12declare void @bar_Struct(i8 %Arg)
13
14; CHECK: ERROR: Missing extension attribute of passed value in call to function:
15; CHECK: Callee:  void @bar_Struct(i8)
16; CHECK: Caller:  void @caller()
17