1 ; RUN: llc -mtriple powerpc-ibm-aix-xcoff -verify-machineinstrs < %s | FileCheck %s
2 ; RUN: not --crash llc -filetype=obj -mtriple powerpc-ibm-aix-xcoff \
3 ; RUN: -verify-machineinstrs < %s 2>&1 | \
4 ; RUN: FileCheck %s --check-prefix=OBJ
6 @i = global i32 55, align 4 #0
8 attributes #0 = { "toc-data" }
10 ; CHECK-NEXT: .csect i[TD],2
11 ; CHECK-NEXT: .globl i[TD]
12 ; CHECK-NEXT: .align 2
13 ; CHECK-NEXT: .vbyte 4, 55
15 ; OBJ: LLVM ERROR: toc-data not yet supported when writing object files.