mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-22 10:16:43 +00:00
072e32f089
The check for valid start function was inverted. Added a new test in test/Object to check this case and fixed the existing tests in for ObjectYAML. Differential Revision: https://reviews.llvm.org/D32986 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302560 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
213 B
Plaintext
11 lines
213 B
Plaintext
# RUN: yaml2obj %s | not llvm-objdump -h - 2>&1 | FileCheck %s
|
|
|
|
!WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: START
|
|
StartFunction: 0
|
|
|
|
# CHECK: {{.*}}: Invalid start function
|