summaryrefslogtreecommitdiffstats
path: root/llvm/test/ObjectYAML/wasm/function_section.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ObjectYAML/wasm/function_section.yaml')
-rw-r--r--llvm/test/ObjectYAML/wasm/function_section.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/ObjectYAML/wasm/function_section.yaml b/llvm/test/ObjectYAML/wasm/function_section.yaml
index 0db0afd2d0e..d3161445295 100644
--- a/llvm/test/ObjectYAML/wasm/function_section.yaml
+++ b/llvm/test/ObjectYAML/wasm/function_section.yaml
@@ -14,6 +14,14 @@ Sections:
- I32
- Type: FUNCTION
FunctionTypes: [ 1, 0 ]
+ - Type: CODE
+ Functions:
+ - Index: 0
+ Locals:
+ Body: 0B
+ - Index: 1
+ Locals:
+ Body: 0B
...
# CHECK: --- !WASM
# CHECK: FileHeader:
OpenPOWER on IntegriCloud