1// RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s \ 2// RUN: -filetype=obj -o %t.o 2>&1 | FileCheck %s 3 4// Check we error out on incorrect COMDATs declarations 5// and not just silently ingnore them. 6 7// CHECK: error: invalid group name 8// CHECK-NEXT: .section .foo,"G",@progbits,-abc,comdat 9 10// CHECK: error: invalid linkage 11// CHECK-NEXT: .section .bar,"G",@progbits,abc,-comdat 12 13.section .foo,"G",@progbits,-abc,comdat 14.section .bar,"G",@progbits,abc,-comdat 15