Debian Codegraph @

js/src/jit-test/tests/wasm/spec/exception-handling/comments.wast.js

raw
1 /* Copyright 2021 Mozilla Foundation
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 // ./test/core/comments.wast
17
18 // ./test/core/comments.wast:10:0
19 let $0 = instantiate(`(module;;comment
20 )`);
21
22 // ./test/core/comments.wast:56:11
23 let $1 = instantiate(`(module(;comment;)
24 (;comment;))`);
25
26 // ./test/core/comments.wast:66
27 let $2 = instantiate(`(module
28 (;comment(;nested(;further;)nested;)comment;)
29 )`);
30
31 // ./test/core/comments.wast:75
32 let $3 = instantiate(`(module
33 (;comment;;comment(;nested;)comment;)
34 )`);