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