[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / gnu-type-diagnostics.s
blobdf87d6df082e61fbb25746b3d9d5b9bbe27e5389
1 // RUN: not llvm-mc -triple i686-elf -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
3 .type TYPE FUNC
4 // CHECK: error: unsupported attribute in '.type' directive
5 // CHECK: .type TYPE FUNC
6 // CHECK: ^
8 .type type stt_func
9 // CHECK: error: unsupported attribute in '.type' directive
10 // CHECK: .type type stt_func
11 // CHECK: ^
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: ^