llvm/llvm/test/tools/yaml2obj/COFF/invalid-raw-data.yaml

# RUN: not yaml2obj %s -o %t 2>&1 | FileCheck %s
# CHECK: YAML:14:5: error: StructuredData and SizeOfRawData can't be used together

--- !COFF
OptionalHeader:
  ImageBase:        0x180000000
  SectionAlignment: 4096
  FileAlignment:    512
  DLLCharacteristics: [ ]
header:
  Machine:         IMAGE_FILE_MACHINE_AMD64
  Characteristics: [ IMAGE_FILE_EXECUTABLE_IMAGE, IMAGE_FILE_LARGE_ADDRESS_AWARE, IMAGE_FILE_DLL ]
sections:
  - Name:            .rdata
    Characteristics: [ IMAGE_SCN_CNT_UNINITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
    VirtualAddress:  0x1000
    VirtualSize:     20
    SizeOfRawData:   4
    StructuredData:
        - UInt32: 1
symbols: []
...