blob: 1db7a3ff3dbbc27dee9aee314e1beb0e5db8993c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
; Check that the GHC calling convention works (s390x)
; In GHC calling convention the only allowed return type is void
;
; RUN: not llc -mtriple=s390x-ibm-linux < %s 2>&1 | FileCheck %s
define ghccc i64 @foo() nounwind {
entry:
ret i64 42
}
; CHECK: LLVM ERROR: GHC functions return void only
|