You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
305 B
12 lines
305 B
4 months ago
|
; Check that the GHC calling convention works (s390x)
|
||
|
; In GHC calling convention the only allowed return type is void
|
||
|
;
|
||
|
; RUN: not --crash 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
|