reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
  Version:         0x00000001
Sections:
  - Type:            CUSTOM
    Name:            target_features
    Features:
      - Prefix:        USED
        Name:          "foo"
      - Prefix:        REQUIRED
        Name:          "bar"
      - Prefix:        DISALLOWED
        Name:          ""
...
# CHECK-LABEL:  Sections:
# CHECK-NEXT:     - Type:            CUSTOM
# CHECK-NEXT:       Name:            target_features
# CHECK-NEXT:       Features:
# CHECK-NEXT:         - Prefix:        USED
# CHECK-NEXT:           Name:          foo
# CHECK-NEXT:         - Prefix:        REQUIRED
# CHECK-NEXT:           Name:          bar
# CHECK-NEXT:         - Prefix:        DISALLOWED
# CHECK-NEXT:           Name:          ''