aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SystemZ/args-17.ll
blob: 4231d7e9e4772d3a8158a81bd699554ff00fc1c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: not --crash llc < %s -mtriple=s390x-linux-gnu -argext-abi-check 2>&1 \
; RUN:   | FileCheck %s
; REQUIRES: asserts
;
; Test detection of missing extension of an i8 return value.

define i8 @callee_MissingRetAttr() {
  ret i8 -1
}

; CHECK: ERROR: Missing extension attribute of returned value from function:
; CHECK: i8 @callee_MissingRetAttr()
; CHECK: UNREACHABLE executed