17
17
// CPP-DEFAULT: func2(v4);
18
18
// CPP-DEFAULT: break;
19
19
// CPP-DEFAULT: }
20
+ // CPP-DEFAULT: }
20
21
// CPP-DEFAULT: return;
21
22
// CPP-DEFAULT: }
22
23
40
41
// CPP-DECLTOP: func2(v2);
41
42
// CPP-DECLTOP: break;
42
43
// CPP-DECLTOP: }
44
+ // CPP-DECLTOP: }
43
45
// CPP-DECLTOP: return;
44
46
// CPP-DECLTOP: }
45
47
func.func @emitc_switch_ptrdiff_t () {
@@ -77,6 +79,7 @@ func.func @emitc_switch_ptrdiff_t() {
77
79
// CPP-DEFAULT: func2(v4);
78
80
// CPP-DEFAULT: break;
79
81
// CPP-DEFAULT: }
82
+ // CPP-DEFAULT: }
80
83
// CPP-DEFAULT: return;
81
84
// CPP-DEFAULT: }
82
85
@@ -100,6 +103,7 @@ func.func @emitc_switch_ptrdiff_t() {
100
103
// CPP-DECLTOP: func2(v2);
101
104
// CPP-DECLTOP: break;
102
105
// CPP-DECLTOP: }
106
+ // CPP-DECLTOP: }
103
107
// CPP-DECLTOP: return;
104
108
// CPP-DECLTOP: }
105
109
func.func @emitc_switch_ssize_t () {
@@ -138,6 +142,7 @@ func.func @emitc_switch_ssize_t() {
138
142
// CPP-DEFAULT: func2(v4);
139
143
// CPP-DEFAULT: break;
140
144
// CPP-DEFAULT: }
145
+ // CPP-DEFAULT: }
141
146
// CPP-DEFAULT: return;
142
147
// CPP-DEFAULT: }
143
148
@@ -161,6 +166,7 @@ func.func @emitc_switch_ssize_t() {
161
166
// CPP-DECLTOP: func2(v2);
162
167
// CPP-DECLTOP: break;
163
168
// CPP-DECLTOP: }
169
+ // CPP-DECLTOP: }
164
170
// CPP-DECLTOP: return;
165
171
// CPP-DECLTOP: }
166
172
func.func @emitc_switch_size_t () {
@@ -199,6 +205,7 @@ func.func @emitc_switch_size_t() {
199
205
// CPP-DEFAULT: func2(v4);
200
206
// CPP-DEFAULT: break;
201
207
// CPP-DEFAULT: }
208
+ // CPP-DEFAULT: }
202
209
// CPP-DEFAULT: return;
203
210
// CPP-DEFAULT: }
204
211
@@ -222,6 +229,7 @@ func.func @emitc_switch_size_t() {
222
229
// CPP-DECLTOP: func2(v2);
223
230
// CPP-DECLTOP: break;
224
231
// CPP-DECLTOP: }
232
+ // CPP-DECLTOP: }
225
233
// CPP-DECLTOP: return;
226
234
// CPP-DECLTOP: }
227
235
func.func @emitc_switch_index () {
@@ -260,6 +268,7 @@ func.func @emitc_switch_index() {
260
268
// CPP-DEFAULT: func2(v4);
261
269
// CPP-DEFAULT: break;
262
270
// CPP-DEFAULT: }
271
+ // CPP-DEFAULT: }
263
272
// CPP-DEFAULT: return;
264
273
// CPP-DEFAULT: }
265
274
@@ -283,6 +292,7 @@ func.func @emitc_switch_index() {
283
292
// CPP-DECLTOP: func2(v2);
284
293
// CPP-DECLTOP: break;
285
294
// CPP-DECLTOP: }
295
+ // CPP-DECLTOP: }
286
296
// CPP-DECLTOP: return;
287
297
// CPP-DECLTOP: }
288
298
func.func @emitc_switch_opaque () {
@@ -322,6 +332,7 @@ func.func @emitc_switch_opaque() {
322
332
// CPP-DEFAULT: func2(v4);
323
333
// CPP-DEFAULT: break;
324
334
// CPP-DEFAULT: }
335
+ // CPP-DEFAULT: }
325
336
// CPP-DEFAULT: return;
326
337
// CPP-DEFAULT: }
327
338
@@ -345,6 +356,7 @@ func.func @emitc_switch_opaque() {
345
356
// CPP-DECLTOP: func2(v2);
346
357
// CPP-DECLTOP: break;
347
358
// CPP-DECLTOP: }
359
+ // CPP-DECLTOP: }
348
360
// CPP-DECLTOP: return;
349
361
// CPP-DECLTOP: }
350
362
func.func @emitc_switch_i1 () {
@@ -383,6 +395,7 @@ func.func @emitc_switch_i1() {
383
395
// CPP-DEFAULT: func2(v4);
384
396
// CPP-DEFAULT: break;
385
397
// CPP-DEFAULT: }
398
+ // CPP-DEFAULT: }
386
399
// CPP-DEFAULT: return;
387
400
// CPP-DEFAULT: }
388
401
@@ -406,6 +419,7 @@ func.func @emitc_switch_i1() {
406
419
// CPP-DECLTOP: func2(v2);
407
420
// CPP-DECLTOP: break;
408
421
// CPP-DECLTOP: }
422
+ // CPP-DECLTOP: }
409
423
// CPP-DECLTOP: return;
410
424
// CPP-DECLTOP: }
411
425
func.func @emitc_switch_i8 () {
@@ -444,6 +458,7 @@ func.func @emitc_switch_i8() {
444
458
// CPP-DEFAULT: func2(v4);
445
459
// CPP-DEFAULT: break;
446
460
// CPP-DEFAULT: }
461
+ // CPP-DEFAULT: }
447
462
// CPP-DEFAULT: return;
448
463
// CPP-DEFAULT: }
449
464
@@ -467,6 +482,7 @@ func.func @emitc_switch_i8() {
467
482
// CPP-DECLTOP: func2(v2);
468
483
// CPP-DECLTOP: break;
469
484
// CPP-DECLTOP: }
485
+ // CPP-DECLTOP: }
470
486
// CPP-DECLTOP: return;
471
487
// CPP-DECLTOP: }
472
488
func.func @emitc_switch_ui8 () {
@@ -505,6 +521,7 @@ func.func @emitc_switch_ui8() {
505
521
// CPP-DEFAULT: func2(v4);
506
522
// CPP-DEFAULT: break;
507
523
// CPP-DEFAULT: }
524
+ // CPP-DEFAULT: }
508
525
// CPP-DEFAULT: return;
509
526
// CPP-DEFAULT: }
510
527
@@ -528,6 +545,7 @@ func.func @emitc_switch_ui8() {
528
545
// CPP-DECLTOP: func2(v2);
529
546
// CPP-DECLTOP: break;
530
547
// CPP-DECLTOP: }
548
+ // CPP-DECLTOP: }
531
549
// CPP-DECLTOP: return;
532
550
// CPP-DECLTOP: }
533
551
func.func @emitc_switch_i16 () {
@@ -566,6 +584,7 @@ func.func @emitc_switch_i16() {
566
584
// CPP-DEFAULT: func2(v4);
567
585
// CPP-DEFAULT: break;
568
586
// CPP-DEFAULT: }
587
+ // CPP-DEFAULT: }
569
588
// CPP-DEFAULT: return;
570
589
// CPP-DEFAULT: }
571
590
@@ -589,6 +608,7 @@ func.func @emitc_switch_i16() {
589
608
// CPP-DECLTOP: func2(v2);
590
609
// CPP-DECLTOP: break;
591
610
// CPP-DECLTOP: }
611
+ // CPP-DECLTOP: }
592
612
// CPP-DECLTOP: return;
593
613
// CPP-DECLTOP: }
594
614
func.func @emitc_switch_ui16 () {
@@ -627,6 +647,7 @@ func.func @emitc_switch_ui16() {
627
647
// CPP-DEFAULT: func2(v4);
628
648
// CPP-DEFAULT: break;
629
649
// CPP-DEFAULT: }
650
+ // CPP-DEFAULT: }
630
651
// CPP-DEFAULT: return;
631
652
// CPP-DEFAULT: }
632
653
@@ -650,6 +671,7 @@ func.func @emitc_switch_ui16() {
650
671
// CPP-DECLTOP: func2(v2);
651
672
// CPP-DECLTOP: break;
652
673
// CPP-DECLTOP: }
674
+ // CPP-DECLTOP: }
653
675
// CPP-DECLTOP: return;
654
676
// CPP-DECLTOP: }
655
677
func.func @emitc_switch_i32 () {
@@ -688,6 +710,7 @@ func.func @emitc_switch_i32() {
688
710
// CPP-DEFAULT: func2(v4);
689
711
// CPP-DEFAULT: break;
690
712
// CPP-DEFAULT: }
713
+ // CPP-DEFAULT: }
691
714
// CPP-DEFAULT: return;
692
715
// CPP-DEFAULT: }
693
716
@@ -711,6 +734,7 @@ func.func @emitc_switch_i32() {
711
734
// CPP-DECLTOP: func2(v2);
712
735
// CPP-DECLTOP: break;
713
736
// CPP-DECLTOP: }
737
+ // CPP-DECLTOP: }
714
738
// CPP-DECLTOP: return;
715
739
// CPP-DECLTOP: }
716
740
func.func @emitc_switch_ui32 () {
@@ -749,6 +773,7 @@ func.func @emitc_switch_ui32() {
749
773
// CPP-DEFAULT: func2(v4);
750
774
// CPP-DEFAULT: break;
751
775
// CPP-DEFAULT: }
776
+ // CPP-DEFAULT: }
752
777
// CPP-DEFAULT: return;
753
778
// CPP-DEFAULT: }
754
779
@@ -772,6 +797,7 @@ func.func @emitc_switch_ui32() {
772
797
// CPP-DECLTOP: func2(v2);
773
798
// CPP-DECLTOP: break;
774
799
// CPP-DECLTOP: }
800
+ // CPP-DECLTOP: }
775
801
// CPP-DECLTOP: return;
776
802
// CPP-DECLTOP: }
777
803
func.func @emitc_switch_i64 () {
@@ -810,6 +836,7 @@ func.func @emitc_switch_i64() {
810
836
// CPP-DEFAULT: func2(v4);
811
837
// CPP-DEFAULT: break;
812
838
// CPP-DEFAULT: }
839
+ // CPP-DEFAULT: }
813
840
// CPP-DEFAULT: return;
814
841
// CPP-DEFAULT: }
815
842
@@ -833,6 +860,7 @@ func.func @emitc_switch_i64() {
833
860
// CPP-DECLTOP: func2(v2);
834
861
// CPP-DECLTOP: break;
835
862
// CPP-DECLTOP: }
863
+ // CPP-DECLTOP: }
836
864
// CPP-DECLTOP: return;
837
865
// CPP-DECLTOP: }
838
866
func.func @emitc_switch_ui64 () {
0 commit comments