; OpEntryPoint minimum = 4 (header + execution-model + entry-point-id + ; min-name-word); WordCount=3 is malformed. ; Test that malformed input is rejected early rather than silently causing ; integer underflow and potential process hang. ; RUN: not llvm-spirv %s -to-binary -o %t.spv 2>&1 | FileCheck %s ; CHECK: InvalidWordCount: 119734787 65536 0 3 0 2 Capability Kernel 3 MemoryModel 1 2 3 EntryPoint 6 2 ""