summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/aix-nest-param.ll
blob: 8534c80ca6436acaa645379d53ae9539e1c63133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: not llc -mtriple powerpc-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
; RUN: not llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s

define i8* @nest_receiver(i8* nest %arg) nounwind {
  ret i8* %arg
}

define i8* @nest_caller(i8* %arg) nounwind {
  %result = call i8* @nest_receiver(i8* nest %arg)
  ret i8* %result
}

; CHECK: LLVM ERROR: Nest arguments are unimplemented.
OpenPOWER on IntegriCloud