1; RUN: llc -mtriple powerpc-ibm-aix-xcoff < %s | FileCheck %s
2; RUN: llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
3
4; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t.o < %s
5; RUN: llvm-readobj --syms %t.o | FileCheck --check-prefix=SYMS %s
6
7; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff -filetype=obj < %s 2>&1 | \
8; RUN: FileCheck --check-prefix=OBJ64 %s
9; OBJ64: LLVM ERROR: 64-bit XCOFF object files are not supported yet.
10
11@a = external global i32, align 4
12@b = external global i64, align 8
13@c = external global i16, align 2
14@globa = common global i32 0, align 4
15
16@ptr = internal global void (...)* null, align 4
17
18; CHECK-NOT: .toc
19; SYMS-NOT: Name: TOC
20