|
22 | 22 |
|
23 | 23 | ;; Malformed name
|
24 | 24 |
|
25 |
| -(assert_malformed |
| 25 | +(assert_malformed_custom |
26 | 26 | (module quote "(@custom)")
|
27 | 27 | "@custom annotation: missing section name"
|
28 | 28 | )
|
29 | 29 |
|
30 |
| -(assert_malformed |
| 30 | +(assert_malformed_custom |
31 | 31 | (module quote "(@custom 4)")
|
32 | 32 | "@custom annotation: missing section name"
|
33 | 33 | )
|
34 | 34 |
|
35 |
| -(assert_malformed |
| 35 | +(assert_malformed_custom |
36 | 36 | (module quote "(@custom bla)")
|
37 | 37 | "@custom annotation: missing section name"
|
38 | 38 | )
|
39 | 39 |
|
40 |
| -(assert_malformed |
| 40 | +(assert_malformed_custom |
41 | 41 | (module quote "(@custom \"\\df\")")
|
42 | 42 | "@custom annotation: malformed UTF-8 encoding"
|
43 | 43 | )
|
44 | 44 |
|
45 | 45 |
|
46 | 46 | ;; Malformed placement
|
47 | 47 |
|
48 |
| -(assert_malformed |
| 48 | +(assert_malformed_custom |
49 | 49 | (module quote "(@custom \"bla\" here)")
|
50 | 50 | "@custom annotation: unexpected token"
|
51 | 51 | )
|
52 | 52 |
|
53 |
| -(assert_malformed |
| 53 | +(assert_malformed_custom |
54 | 54 | (module quote "(@custom \"bla\" after)")
|
55 | 55 | "@custom annotation: unexpected token"
|
56 | 56 | )
|
57 | 57 |
|
58 |
| -(assert_malformed |
| 58 | +(assert_malformed_custom |
59 | 59 | (module quote "(@custom \"bla\" (after))")
|
60 | 60 | "@custom annotation: malformed section kind"
|
61 | 61 | )
|
62 | 62 |
|
63 |
| -(assert_malformed |
| 63 | +(assert_malformed_custom |
64 | 64 | (module quote "(@custom \"bla\" (type))")
|
65 | 65 | "@custom annotation: malformed placement"
|
66 | 66 | )
|
67 | 67 |
|
68 |
| -(assert_malformed |
| 68 | +(assert_malformed_custom |
69 | 69 | (module quote "(@custom \"bla\" (aft type))")
|
70 | 70 | "@custom annotation: malformed placement"
|
71 | 71 | )
|
72 | 72 |
|
73 |
| -(assert_malformed |
| 73 | +(assert_malformed_custom |
74 | 74 | (module quote "(@custom \"bla\" (before types))")
|
75 | 75 | "@custom annotation: malformed section kind"
|
76 | 76 | )
|
77 | 77 |
|
78 | 78 |
|
79 | 79 | ;; Misplaced
|
80 | 80 |
|
81 |
| -(assert_malformed |
| 81 | +(assert_malformed_custom |
82 | 82 | (module quote "(type (@custom \"bla\") $t (func))")
|
83 | 83 | "misplaced @custom annotation"
|
84 | 84 | )
|
85 | 85 |
|
86 |
| -(assert_malformed |
| 86 | +(assert_malformed_custom |
87 | 87 | (module quote "(func (@custom \"bla\"))")
|
88 | 88 | "misplaced @custom annotation"
|
89 | 89 | )
|
90 | 90 |
|
91 |
| -(assert_malformed |
| 91 | +(assert_malformed_custom |
92 | 92 | (module quote "(func (block (@custom \"bla\")))")
|
93 | 93 | "misplaced @custom annotation"
|
94 | 94 | )
|
95 | 95 |
|
96 |
| -(assert_malformed |
| 96 | +(assert_malformed_custom |
97 | 97 | (module quote "(func (nop (@custom \"bla\")))")
|
98 | 98 | "misplaced @custom annotation"
|
99 | 99 | )
|
0 commit comments