[DAG] TransformFPLoadStorePair - early out if we're not loading a simple type
[llvm-project.git] / llvm / test / MC / ELF / popsection.s
blob69c2be5c22ad6435f3ebd2dec8bd7878d4fa308b
1 // RUN: llvm-mc -filetype=obj %s -o - -triple x86_64-pc-linux | llvm-readobj -S - | FileCheck %s
3 // This used to crash. Test that it create an empty section instead.
5 .pushsection foo
6 .popsection
8 // CHECK: Section {
9 // CHECK: Index:
10 // CHECK: Name: foo
11 // CHECK-NEXT: Type: SHT_PROGBITS
12 // CHECK-NEXT: Flags [ (0x0)
13 // CHECK-NEXT: ]
14 // CHECK-NEXT: Address: 0x0
15 // CHECK-NEXT: Offset:
16 // CHECK-NEXT: Size: 0
17 // CHECK-NEXT: Link: 0
18 // CHECK-NEXT: Info: 0
19 // CHECK-NEXT: AddressAlignment: 1
20 // CHECK-NEXT: EntrySize: 0
21 // CHECK-NEXT: }