1# RUN: yaml2obj %s -o %t.obj 2# RUN: env LLD_IN_TEST=1 not lld-link %t.obj 2>&1 | FileCheck %s 3 4# CHECK: foo should not refer to special section -10 5 6--- !COFF 7header: 8 Machine: IMAGE_FILE_MACHINE_I386 9 Characteristics: [] 10sections: 11 - Name: .text 12 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ] 13 Alignment: 4 14 SectionData: B82A000000C3 15symbols: 16 - Name: .text 17 Value: 0 18 SectionNumber: 1 19 SimpleType: IMAGE_SYM_TYPE_NULL 20 ComplexType: IMAGE_SYM_DTYPE_NULL 21 StorageClass: IMAGE_SYM_CLASS_STATIC 22 SectionDefinition: 23 Length: 6 24 NumberOfRelocations: 0 25 NumberOfLinenumbers: 0 26 CheckSum: 0 27 Number: 0 28 - Name: foo 29 Value: 0 30 SectionNumber: -10 31 SimpleType: IMAGE_SYM_TYPE_NULL 32 ComplexType: IMAGE_SYM_DTYPE_NULL 33 StorageClass: IMAGE_SYM_CLASS_EXTERNAL 34... 35