1# RUN: not yaml2obj %s -o /dev/null 2>&1 | FileCheck %s 2 3## Test that we report an error for an ExceptionStream where the specified 4## number of parameters is greater than the number of ExceptionInformation 5## elements listed. 6 7--- !minidump 8Streams: 9 - Type: Exception 10 Thread ID: 0x7 11 Exception Record: 12 Exception Code: 0x23 13 Exception Flags: 0x5 14 Exception Record: 0x0102030405060708 15 Exception Address: 0x0a0b0c0d0e0f1011 16 Number of Parameters: 4 17 Parameter 0: 0x99 18 Parameter 1: 0x23 19 Parameter 2: 0x42 20# CHECK: error: missing required key 'Parameter 3' 21 Thread Context: 3DeadBeefDefacedABadCafe)"); 22