[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / ObjectYAML / wasm / invalid_global_weak.yaml
blob4566e8f0f009de8445d910ddad7522223990d184
1 # RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
3 --- !WASM
4 FileHeader:
5   Version:         0x00000001
6 Sections:
7   - Type:            IMPORT
8     Imports:
9       - Module:          fiz
10         Field:           imported_global
11         Kind:            GLOBAL
12         GlobalType:      I32
13         GlobalMutable:   false
14   - Type:            CUSTOM
15     Name:            linking
16     Version:         2
17     SymbolTable:
18       - Index:           0
19         Kind:            GLOBAL
20         Name:            imported_global
21         Flags:           [ BINDING_WEAK, UNDEFINED ]
22         Global:          0
23 ...
25 # CHECK: Error reading file: <stdin>: undefined weak global symbol