[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ELF / comdat-declaration-errors.s
blobfade8cfe41dd40ff4e6d574ef2c78aa654d711c3
1 // RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s \
2 // RUN: -filetype=obj -o %t.o 2>&1 | FileCheck %s
4 // Check we error out on incorrect COMDATs declarations
5 // and not just silently ingnore them.
7 // CHECK: error: invalid group name
8 // CHECK-NEXT: .section .foo,"G",@progbits,-abc,comdat
10 // CHECK: error: invalid linkage
11 // CHECK-NEXT: .section .bar,"G",@progbits,abc,-comdat
13 .section .foo,"G",@progbits,-abc,comdat
14 .section .bar,"G",@progbits,abc,-comdat