1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s
3 // Test that we produce two foo sections, each in separate groups
6 // CHECK-NEXT: Name: .group
9 // CHECK-NEXT: Name: .group
12 // CHECK-NEXT: Name: .foo
15 // CHECK-NEXT: Name: .foo
21 // CHECK: Section: .group (0x1)
25 // CHECK: Section: .group (0x2)
29 // CHECK: Section: .foo (0x6)
33 // CHECK: Section: .foo (0x7)
36 .section .foo,"axG",@progbits,f1,comdat
39 .section .foo,"axG",@progbits,f2,comdat