xref: /llvm-project/llvm/test/CodeGen/PowerPC/toc-data-large-array2.ll (revision 37b5eb0a0a75bdf69b96b902417906da31c88dc3)
1; RUN: not --crash llc -mtriple powerpc-ibm-aix-xcoff < %s 2>&1 | FileCheck %s --check-prefix CHECK-ERROR
2; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s --check-prefix CHECK-ERROR
3
4@a = global [5 x i16] zeroinitializer, align 2 #0
5
6attributes #0 = { "toc-data" }
7
8; CHECK-ERROR: LLVM ERROR: A GlobalVariable with size larger than a TOC entry is not currently supported by the toc data transformation.
9