[Alignment][NFC] Allow constexpr Align
[llvm-complete.git] / test / Object / coff-invalid.test
blob3ab3f41b15fefb0b20de8b274bb44475e733a3f9
1 RUN: llvm-readobj -S %p/Inputs/invalid-bad-section-address.coff 2>&1 | \
2 RUN: FileCheck --check-prefix=SECTIONS %s
4 SECTIONS:      Section {
5 SECTIONS-NEXT:   Number: 1
6 SECTIONS-NEXT:   Name: .text (2E 74 65 78 74 00 00 00)
7 SECTIONS-NEXT:   VirtualSize: 0x0
8 SECTIONS-NEXT:   VirtualAddress: 0x1000000
10 RUN: not llvm-readobj -r %p/Inputs/invalid-bad-section-address.coff 2>&1 | \
11 RUN: FileCheck %s
13 CHECK: Sections with relocations should have an address of 0