Skip to content

Commit bce1dd6

Browse files
committed
Remove test that is incompatible with laziness
Going through sil-opt is going to print the contents of the module without forcing the attribute which renders the test toothless. Now that we have the multifile test, we're testing it can be round-tripped through serialization anyhow.
1 parent f13c76c commit bce1dd6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/Serialization/serialize_attr.swift

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,3 @@ public class CC<T : PP> {
8282
// CHECK-DAG: sil [serialized] [_specialize exported: false, kind: full, where T == Int, U == Float] [canonical] [ossa] @$s14serialize_attr14specializeThis_1uyx_q_tr0_lF : $@convention(thin) <T, U> (@in_guaranteed T, @in_guaranteed U) -> () {
8383

8484
// CHECK-DAG: sil [serialized] [noinline] [_specialize exported: false, kind: full, where T == RR, U == SS] [canonical] [ossa] @$s14serialize_attr2CCC3foo_1gqd___AA2GGVyxGtqd___AHtAA2QQRd__lF : $@convention(method) <T where T : PP><U where U : QQ> (@in_guaranteed U, GG<T>, @guaranteed CC<T>) -> (@out U, GG<T>) {
85-
86-
87-
// @_typeEraser
88-
// -----------------------------------------------------------------------------
89-
90-
public class AnyP: P {
91-
public init<T: P>(erasing: T) {}
92-
}
93-
94-
// CHECK-DAG: @_typeEraser(AnyP) protocol P
95-
@_typeEraser(AnyP)
96-
public protocol P {}

0 commit comments

Comments
 (0)