Don't create an unused _GLOBAL_OFFSET_TABLE_.
[oota-llvm.git] / test / MC / ELF / gnu-type-diagnostics.s
1 // RUN: not llvm-mc -triple i686-elf -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
2
3         .type TYPE FUNC
4 // CHECK: error: unsupported attribute in '.type' directive
5 // CHECK: .type TYPE FUNC
6 // CHECK:            ^
7
8         .type type stt_func
9 // CHECK: error: unsupported attribute in '.type' directive
10 // CHECK: .type type stt_func
11 // CHECK:            ^
12
13         .type symbol 32
14 // CHECK: error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '@<type>', '%<type>' or "<type>"
15 // CHECK: .type symbol 32
16 // CHECK:              ^
17
18