1 ; RUN: not --crash llc -mtriple powerpc-ibm-aix-xcoff -verify-machineinstrs \
2 ; RUN: < %s 2>&1 | FileCheck %s
3 ; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff -verify-machineinstrs \
4 ; RUN: < %s 2>&1 | FileCheck %s
6 @ilocal = internal global i32 0, align 4 #0
8 define dso_local i32 @read_i32_local_linkage() {
10 %0 = load i32, ptr @ilocal, align 4
14 ; CHECK: LLVM ERROR: A GlobalVariable with private or local linkage is not currently supported by the toc data transformation.
16 attributes #0 = { "toc-data" }