aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SystemZ/args-15.ll
blob: 64217a2a29a6f93a9959a2ab81f3dd7b6898a602 (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 i32 return value.

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

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