xref: /llvm-project/llvm/test/CodeGen/PowerPC/aix-nest-param.ll (revision 427fb35192f1f7bb694a5910b05abc5925a798b2)
1; RUN: not --crash llc -mtriple powerpc-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
2; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
3
4define ptr @nest_receiver(ptr nest %arg) nounwind {
5  ret ptr %arg
6}
7
8define ptr @nest_caller(ptr %arg) nounwind {
9  %result = call ptr @nest_receiver(ptr nest %arg)
10  ret ptr %result
11}
12
13; CHECK: LLVM ERROR: Nest arguments are unimplemented.
14