1# RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
2# RUN: obj2yaml %t.o | FileCheck %s
3
4# CHECK: Sections:
5# CHECK: - Name:            .group{{$}}
6# CHECK:   Members:
7# CHECK:     - SectionOrType:   .text.foo{{$}}
8# CHECK:     - SectionOrType:   .rela.text.foo{{$}}
9# CHECK: - Name:            .text.foo{{$}}
10# CHECK: - Name:            .rela.text.foo{{$}}
11# CHECK:   Info:            .text.foo{{$}}
12# CHECK: - Name:            .group1{{$}}
13# CHECK:   Members:
14# CHECK:     - SectionOrType:   .text.foo2{{$}}
15# CHECK:     - SectionOrType:   .rela.text.foo3{{$}}
16# CHECK: - Name:            .text.foo2{{$}}
17# CHECK: - Name:            .rela.text.foo3{{$}}
18# CHECK:   Info:            .text.foo2{{$}}
19# CHECK: Symbols:
20# CHECK:   Section:         .group{{$}}
21# CHECK:   Section:         .group1{{$}}
22
23
24        .section        .text.foo,"axG",@progbits,sym1,comdat
25        .quad undef
26
27        .section        .text.foo,"axG",@progbits,sym2,comdat
28        .quad undef
29