Skip to content

Commit 1f81949

Browse files
committed
Update a SIL parsing test case: basic.sil
This failed after the following PR: Add an isStrict flag to SIL pointer_to_address. #3529 (not sure why the failure didn't appear locally or with swift-ci).
1 parent 8a32be6 commit 1f81949

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/SIL/Parser/basic.sil

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,15 +1508,6 @@ entry(%a : $ParentClass, %b : $*ParentStruct):
15081508
unreachable
15091509
}
15101510

1511-
// CHECK-LABEL: sil_vtable Foo {
1512-
// CHECK: #Foo.subscript!getter.1: _TFC3tmp3Foog9subscriptFTVs5Int32S1__S1_
1513-
// CHECK: #Foo.subscript!setter.1: _TFC3tmp3Foos9subscriptFTVs5Int32S1__S1_
1514-
// CHECK: }
1515-
sil_vtable Foo {
1516-
#Foo.subscript!getter.1: _TFC3tmp3Foog9subscriptFTVs5Int32S1__S1_
1517-
#Foo.subscript!setter.1: _TFC3tmp3Foos9subscriptFTVs5Int32S1__S1_
1518-
}
1519-
15201511
// CHECK-LABEL: sil @test_pointer_to_address
15211512
sil @test_pointer_to_address : $(Builtin.RawPointer, X) -> () {
15221513
bb0(%0 : $Builtin.RawPointer, %1 : $X):
@@ -1531,3 +1522,12 @@ bb0(%0 : $Builtin.RawPointer, %1 : $X):
15311522
%28 = tuple ()
15321523
return %28 : $()
15331524
}
1525+
1526+
// CHECK-LABEL: sil_vtable Foo {
1527+
// CHECK: #Foo.subscript!getter.1: _TFC3tmp3Foog9subscriptFTVs5Int32S1__S1_
1528+
// CHECK: #Foo.subscript!setter.1: _TFC3tmp3Foos9subscriptFTVs5Int32S1__S1_
1529+
// CHECK: }
1530+
sil_vtable Foo {
1531+
#Foo.subscript!getter.1: _TFC3tmp3Foog9subscriptFTVs5Int32S1__S1_
1532+
#Foo.subscript!setter.1: _TFC3tmp3Foos9subscriptFTVs5Int32S1__S1_
1533+
}

0 commit comments

Comments
 (0)