aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/SystemZ/args-19.ll
blob: 8b5f421f59fdd81e9478304c739cf1ca6f336b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; 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 outgoing i16 call argument.

define void @caller() {
  call void @bar_Struct(i16 123)
  ret void
}

declare void @bar_Struct(i16 %Arg)

; CHECK: ERROR: Missing extension attribute of passed value in call to function:
; CHECK: Callee:  void @bar_Struct(i16)
; CHECK: Caller:  void @caller()