Skip to content

Commit 8ec9165

Browse files
committed
[Test] Added for parsing more arguments.
1 parent 336af60 commit 8ec9165

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/SILOptimizer/unit_test.sil

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,19 @@ exit(%owned : @owned $C, %guaranteed_1 : @guaranteed $C, %guaranteed_2 : @guaran
205205
%retval = tuple ()
206206
return %retval : $()
207207
}
208+
209+
// CHECK-LABEL: begin running test 1 of {{[^,]+}} on test_arg_parsing_2
210+
// CHECK: block:
211+
// CHECK: {{bb[0-9]+}}:
212+
// CHECK: {{%[^,]+}} = tuple ()
213+
// CHECK: return {{%[^,]+}}
214+
// CHECK: uint: 0
215+
// CHECK-LABEL: end running test 1 of {{[^,]+}} on test_arg_parsing_2
216+
sil @test_arg_parsing_2 : $() -> () {
217+
entry:
218+
test_specification "test-specification-parsing Bu @block[1] 0"
219+
br exit
220+
exit:
221+
%retval = tuple ()
222+
return %retval : $()
223+
}

0 commit comments

Comments
 (0)