1 ## This checks that when the header section of a group is removed, the tool
2 ## drops the flag SHF_GROUP for preserved members of that group.
4 # RUN: yaml2obj %s -o - \
5 # RUN: | llvm-objcopy -R .group - - \
6 # RUN: | llvm-readobj --sections - \
10 # CHECK-NEXT: Type: SHT_PROGBITS
12 # CHECK-NEXT: SHF_ALLOC
26 - SectionOrType: GRP_COMDAT
30 Flags: [ SHF_ALLOC, SHF_GROUP ]