Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / ELF / section-omitted-attributes.s
blob108ecd0b3401fde3574bcf6fc414ff0604b617e5
1 # RUN: llvm-mc -triple=x86_64 %s -o - | FileCheck %s
3 # If section flags and other attributes are omitted, don't error.
5 # CHECK: .section .foo,"aM",@progbits,1
6 # CHECK: .section .rodata.cst8,"aM",@progbits,8
7 # CHECK: .section .lds_bss,"w",@nobits
9 .section .foo,"aM",@progbits,1
11 .section .foo
13 .pushsection .foo
15 # Likewise, except that the '.rodata' prefix implies SHF_ALLOC.
16 .section .rodata.cst8,"aM",@progbits,8
18 .section .rodata.cst8
20 # Likewise for Type changes
21 .section .lds_bss,"w",@nobits
22 .section .lds_bss