xref: /llvm-project/llvm/test/CodeGen/SystemZ/args-16.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 i16 return value.
6
7define i16 @callee_MissingRetAttr() {
8  ret i16 -1
9}
10
11; CHECK: ERROR: Missing extension attribute of returned value from function:
12; CHECK: i16 @callee_MissingRetAttr()
13; CHECK: UNREACHABLE executed
14
15