xref: /llvm-project/llvm/test/CodeGen/PowerPC/aix-static-init-key-object.ll (revision 6ef801aa6bc01fc49a8e83ddb217470b5e2337dd)
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
4@v = global i8 0
5
6@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @foo, i8* @v}]
7
8define void @foo() {
9  ret void
10}
11
12; CHECK: LLVM ERROR: associated data of XXStructor list is not yet supported on AIX
13