blob: 278e643038035bef79e7a6c1772c8686e77b42e0 [file] [log] [blame]
; Check that the GHC calling convention works (s390x)
; In GHC calling convention a frame pointer is not supported
;
; RUN: not --crash llc -mtriple=s390x-ibm-linux < %s 2>&1 | FileCheck %s
define ghccc void @foo(i64 %0) nounwind {
entry:
alloca i64, i64 %0
ret void
}
; CHECK: LLVM ERROR: In GHC calling convention a frame pointer is not supported