22 lines · yaml
1# RUN: not yaml2obj %s -o /dev/null 2>&1 | FileCheck %s2 3## Test that we report an error for an ExceptionStream where the specified4## number of parameters is greater than the number of ExceptionInformation5## elements listed.6 7--- !minidump8Streams:9 - Type: Exception10 Thread ID: 0x711 Exception Record:12 Exception Code: 0x2313 Exception Flags: 0x514 Exception Record: 0x010203040506070815 Exception Address: 0x0a0b0c0d0e0f101116 Number of Parameters: 417 Parameter 0: 0x9918 Parameter 1: 0x2319 Parameter 2: 0x4220# CHECK: error: missing required key 'Parameter 3'21 Thread Context: 3DeadBeefDefacedABadCafe)");22