1 ## Check that obj2yaml does not write a section Info
2 ## field in the case when it has a value of zero.
4 # RUN: yaml2obj %s -o %t
5 # RUN: obj2yaml %t | FileCheck %s
8 # CHECK-NEXT: - Name: .foo
9 # CHECK-NEXT: Type: SHT_PROGBITS
10 # CHECK-NEXT: - Name: .bar
11 # CHECK-NEXT: Type: SHT_PROGBITS
12 # CHECK-NEXT: Info: 0x1