Skip to content

Commit 9e07e69

Browse files
Merge pull request #61176 from AnthonyLatsis/migrate-test-suite-to-gh-issues-29
Gardening: Migrate test suite to GH issues p. 29
2 parents 1b71154 + 1feed1d commit 9e07e69

File tree

82 files changed

+56
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+56
-54
lines changed

test/Concurrency/sr15049.swift renamed to test/Concurrency/issue-57376.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-typecheck-verify-swift -disable-availability-checking -strict-concurrency=targeted
22
// REQUIRES: concurrency
33

4+
// https://github.com/apple/swift/issues/57376
5+
46
func testAsyncSequenceTypedPatternSendable<Seq: AsyncSequence>(_ seq: Seq) async throws where Seq.Element == Int, Seq: Sendable {
57
async let result: Int = seq.reduce(0) { $0 + $1 } // OK
68
// expected-warning@-1{{immutable value 'result' was never used; consider replacing with '_' or removing it}}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
// RUN: %target-swift-emit-silgen %s -verify | %FileCheck %s
1+
// RUN: %target-swift-emit-silgen %s -verify -module-name M | %FileCheck %s
22

33
// https://github.com/apple/swift/issues/45309
44

55
func f<T>(_: () -> T) {}
66
func f<T>(_: @autoclosure () -> T) {}
77

8-
// CHECK: function_ref @$s6sr27051fyyxyXElF
8+
// CHECK: function_ref @$s1M1fyyxyXElF
99
f { } // OK
1010

1111
func f1<T>(_: () -> T, _: () -> T) {}
1212
func f1<T>(_: @autoclosure () -> T, _: @autoclosure () -> T) {}
1313

14-
// CHECK: function_ref @$s6sr27052f1yyxyXE_xyXEtlF
14+
// CHECK: function_ref @$s1M2f1yyxyXE_xyXEtlF
1515
f1({}, {}) // OK
1616

1717
func f2<T>(_: () -> T, _: () -> T) { }
1818
func f2<T>(_: () -> T, _: @autoclosure () -> T) { }
1919

20-
// CHECK: function_ref @$s6sr27052f2yyxyXE_xyXEtlF
20+
// CHECK: function_ref @$s1M2f2yyxyXE_xyXEtlF
2121
f2({}, {}) // OK
2222

2323
func f3(_: () -> Int) {}
2424
func f3(_: @autoclosure () -> Int) {}
2525

26-
// CHECK: function_ref @$s6sr27052f3yySiyXEF
26+
// CHECK: function_ref @$s1M2f3yySiyXEF
2727
f3 { 0 } // OK
2828

2929
func autoclosure(f: () -> Int) { }
3030
func autoclosure(f: @autoclosure () -> Int) { }
3131
func autoclosure(f: Int) { }
3232

33-
// CHECK: function_ref @$s6sr270511autoclosure1fySiyXE_tF
33+
// CHECK: function_ref @$s1M11autoclosure1fySiyXE_tF
3434
autoclosure(f: { 0 }) // OK
3535

36-
// CHECK: function_ref @$s6sr27052fnyySiyXEF
36+
// CHECK: function_ref @$s1M2fnyySiyXEF
3737
let _ = autoclosure as (() -> (Int)) -> () // OK
3838

3939
func test(_: (@autoclosure () -> Int) -> Void) {}
4040
func test(_: (() -> Int) -> Void) {}
4141

4242
func fn(_: () -> Int) {}
4343

44-
// CHECK: function_ref @$s6sr27054testyyySiyXEXEF
44+
// CHECK: function_ref @$s1M4testyyySiyXEXEF
4545
test(fn) // OK
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/Constraints/sr9626.swift renamed to test/Constraints/issue-52072.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -emit-sil -verify %s | %FileCheck %s
1+
// RUN: %target-swift-frontend -emit-sil -verify -module-name M %s | %FileCheck %s
22

33
// https://github.com/apple/swift/issues/52072
44

@@ -15,10 +15,10 @@ func test2<T: BaseClass>(box: Box<T>) -> T.Type {
1515
return T.self
1616
}
1717

18-
// CHECK: [[F1:%.*]] = function_ref @$s6sr96263BoxVyACyxGxmcfC
18+
// CHECK: [[F1:%.*]] = function_ref @$s1M3BoxVyACyxGxmcfC
1919
// CHECK-NEXT: apply [[F1]]<SubClass>({{.*}}, {{.*}})
2020
_ = test1(box: .init(SubClass.self))
2121

22-
// CHECK: [[F2:%.*]] = function_ref @$s6sr96265test23boxxmAA3BoxVyxG_tAA9BaseClassCRbzlF
22+
// CHECK: [[F2:%.*]] = function_ref @$s1M5test23boxxmAA3BoxVyxG_tAA9BaseClassCRbzlF
2323
// CHECK-NEXT: apply [[F2]]<SubClass>({{.*}})
2424
_ = test2(box: .init(SubClass.self))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/Generics/sr7353.swift renamed to test/Generics/issue-49901.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
// https://github.com/apple/swift/issues/49901
44

5-
// CHECK-LABEL: sr7353.(file).P@
5+
// CHECK-LABEL: .P@
66
// CHECK-LABEL: <Self where Self == Self.[P]A.[Q]B, Self.[P]A : Q>
77
protocol P {
88
associatedtype A: Q where A.B == Self
99
}
1010

11-
// CHECK-LABEL: sr7353.(file).Q@
11+
// CHECK-LABEL: .Q@
1212
// CHECK-LABEL: <Self where Self == Self.[Q]B.[P]A, Self.[Q]B : P, Self.[Q]B == Self.[Q]C>
1313
protocol Q {
1414
associatedtype B: P where B.A == Self

test/Generics/sr8945.swift renamed to test/Generics/issue-51450.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-swift-frontend -emit-module %S/Inputs/sr8945-other.swift -emit-module-path %t/other.swiftmodule -module-name other
2+
// RUN: %target-swift-frontend -emit-module %S/Inputs/issue-51450-other.swift -emit-module-path %t/other.swiftmodule -module-name other
33
// RUN: %target-swift-frontend -emit-silgen %s -I%t -debug-generic-signatures 2>&1 | %FileCheck %s
44

55
// https://github.com/apple/swift/issues/51450
File renamed without changes.

test/Generics/sr9595.swift renamed to test/Generics/issue-52042.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ protocol Q {
88
associatedtype Assoc
99
}
1010

11-
// CHECK-LABEL: sr9595.(file).P1@
11+
// CHECK-LABEL: .P1@
1212
// CHECK-LABEL: Requirement signature: <Self where Self.[P1]T == Self.[P1]U.[P1]U, Self.[P1]U : P1, Self.[P1]U : Q, Self.[P1]U == Self.[P1]T.[P1]U, Self.[P1]U.[Q]Assoc : R>
1313
protocol P1 {
1414
associatedtype T where T == U.U
1515
associatedtype U : P1, Q where U.Assoc : R, U == T.U
1616
}
1717

18-
// CHECK-LABEL: sr9595.(file).P2@
18+
// CHECK-LABEL: .P2@
1919
// CHECK-LABEL: Requirement signature: <Self where Self.[P2]T == Self.[P2]U.[P2]U, Self.[P2]U : P2, Self.[P2]U : Q, Self.[P2]U == Self.[P2]T.[P2]U, Self.[P2]U.[Q]Assoc : R>
2020
protocol P2 {
2121
associatedtype T : P2 where T == U.U
2222
associatedtype U : P2, Q where U.Assoc : R, U == T.U
2323
}
2424

25-
// CHECK-LABEL: sr9595.(file).P3@
25+
// CHECK-LABEL: .P3@
2626
// CHECK-LABEL: Requirement signature: <Self where Self.[P3]T : Q, Self.[P3]T == Self.[P3]U.[P3]U, Self.[P3]U : P3, Self.[P3]U == Self.[P3]T.[P3]U, Self.[P3]T.[Q]Assoc : R>
2727
protocol P3 {
2828
associatedtype T : Q where T.Assoc : R, T == U.U
2929
associatedtype U : P3 where U == T.U
3030
}
3131

32-
// CHECK-LABEL: sr9595.(file).P4@
32+
// CHECK-LABEL: .P4@
3333
// CHECK-LABEL: Requirement signature: <Self where Self.[P4]T : Q, Self.[P4]T == Self.[P4]U.[P4]U, Self.[P4]U : P4, Self.[P4]U == Self.[P4]T.[P4]U, Self.[P4]T.[Q]Assoc : R>
3434
protocol P4 {
3535
associatedtype T : P4, Q where T.Assoc : R, T == U.U

test/Generics/sr10438.swift renamed to test/Generics/issue-52838.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22

33
// https://github.com/apple/swift/issues/52838
44

5-
// CHECK: sr10438.(file).AuthenticationFlowStateMachine@
5+
// CHECK-LABEL: .AuthenticationFlowStateMachine@
66
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[AuthenticationFlowStateMachine]FlowError.[AuthenticationFlowStateMachineFlowError]StateMachine, Self.[AuthenticationFlowStateMachine]FlowError : AuthenticationFlowStateMachineFlowError, Self.[AuthenticationFlowStateMachine]NonFinalState : AuthenticationFlowStateMachineNonFinalState, Self.[AuthenticationFlowStateMachine]StartState : AuthenticationFlowStateMachineStartState, Self.[AuthenticationFlowStateMachine]FlowError.[AuthenticationFlowStateMachineFlowError]StateMachine == Self.[AuthenticationFlowStateMachine]NonFinalState.[AuthenticationFlowStateMachineNonFinalState]StateMachine, Self.[AuthenticationFlowStateMachine]NonFinalState.[AuthenticationFlowStateMachineNonFinalState]StateMachine == Self.[AuthenticationFlowStateMachine]StartState.[AuthenticationFlowStateMachineStartState]StateMachine>
77
protocol AuthenticationFlowStateMachine {
88
associatedtype StartState: AuthenticationFlowStateMachineStartState where StartState.StateMachine == Self
99
associatedtype NonFinalState: AuthenticationFlowStateMachineNonFinalState where NonFinalState.StateMachine == Self
1010
associatedtype FlowError: AuthenticationFlowStateMachineFlowError where FlowError.StateMachine == Self
1111
}
1212

13-
// CHECK: sr10438.(file).AuthenticationFlowStateMachineFlowError@
13+
// CHECK-LABEL: .AuthenticationFlowStateMachineFlowError@
1414
// CHECK-NEXT: Requirement signature: <Self where Self : Error, Self == Self.[AuthenticationFlowStateMachineFlowError]StateMachine.[AuthenticationFlowStateMachine]FlowError, Self.[AuthenticationFlowStateMachineFlowError]StateMachine : AuthenticationFlowStateMachine>
1515
protocol AuthenticationFlowStateMachineFlowError: Error {
1616
associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.FlowError == Self
1717
}
1818

19-
// CHECK: sr10438.(file).AuthenticationFlowStateMachineStartState@
19+
// CHECK-LABEL: .AuthenticationFlowStateMachineStartState@
2020
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[AuthenticationFlowStateMachineStartState]StateMachine.[AuthenticationFlowStateMachine]StartState, Self.[AuthenticationFlowStateMachineStartState]StateMachine : AuthenticationFlowStateMachine>
2121
protocol AuthenticationFlowStateMachineStartState {
2222
associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.StartState == Self
2323
var nonFinalState: StateMachine.NonFinalState { get }
2424
}
2525

26-
// CHECK: sr10438.(file).AuthenticationFlowStateMachineNonFinalState@
26+
// CHECK-LABEL: .AuthenticationFlowStateMachineNonFinalState@
2727
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[AuthenticationFlowStateMachineNonFinalState]StateMachine.[AuthenticationFlowStateMachine]NonFinalState, Self.[AuthenticationFlowStateMachineNonFinalState]StateMachine : AuthenticationFlowStateMachine>
2828
protocol AuthenticationFlowStateMachineNonFinalState {
2929
associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.NonFinalState == Self

test/Generics/sr10532.swift renamed to test/Generics/issue-52932.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
// https://github.com/apple/swift/issues/52932
44

5-
// CHECK: sr10532.(file).ScalarProtocol@
5+
// CHECK-LABEL: .ScalarProtocol@
66
// CHECK-NEXT: Requirement signature: <Self where Self : ScalarMultiplicative, Self == Self.[ScalarMultiplicative]Scalar>
77
public protocol ScalarProtocol: ScalarMultiplicative where Self == Scalar { }
88

9-
// CHECK: sr10532.(file).ScalarMultiplicative@
9+
// CHECK-LABEL: .ScalarMultiplicative@
1010
// CHECK-NEXT: Requirement signature: <Self where Self.[ScalarMultiplicative]Scalar : ScalarProtocol>
1111
public protocol ScalarMultiplicative {
1212
associatedtype Scalar : ScalarProtocol
1313
}
1414

15-
// CHECK: sr10532.(file).MapReduceArithmetic@
15+
// CHECK-LABEL: .MapReduceArithmetic@
1616
// CHECK-NEXT: Requirement signature: <Self where Self : Collection, Self : ScalarMultiplicative, Self.[Sequence]Element : ScalarMultiplicative, Self.[ScalarMultiplicative]Scalar == Self.[Sequence]Element.[ScalarMultiplicative]Scalar>
1717
public protocol MapReduceArithmetic : ScalarMultiplicative, Collection where Element : ScalarMultiplicative, Scalar == Element.Scalar { }
1818

19-
// CHECK: sr10532.(file).Tensor@
19+
// CHECK-LABEL: .Tensor@
2020
// CHECK-NEXT: Requirement signature: <Self where Self : MapReduceArithmetic, Self.[Sequence]Element : BinaryFloatingPoint, Self.[Sequence]Element == Self.[ScalarMultiplicative]Scalar>
2121
public protocol Tensor : MapReduceArithmetic where Scalar : BinaryFloatingPoint, Element == Scalar {
2222
var magnitude: Scalar { get set }

test/Generics/sr10752.swift renamed to test/Generics/issue-53142.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
// https://github.com/apple/swift/issues/53142
44

5-
// CHECK: sr10752.(file).P@
5+
// CHECK-LABEL: .P@
66
// CHECK-NEXT: Requirement signature: <Self where Self.[P]A : P, Self.[P]A == Self.[P]A.[P]A>
77
protocol P {
88
associatedtype A : P where A.A == A
99
}
1010

11-
// CHECK: sr10752.(file).Q@
11+
// CHECK-LABEL: .Q@
1212
// CHECK-NEXT: Requirement signature: <Self where Self.[Q]A == Self.[Q]C.[P]A, Self.[Q]C : P>
1313
protocol Q {
1414
associatedtype A : P // expected-warning {{redundant conformance constraint 'Self.A' : 'P'}}

test/Generics/sr11100.swift renamed to test/Generics/issue-53495.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ protocol P2 {
1010
associatedtype C: P1
1111
}
1212

13-
// CHECK: sr11100.(file).Q@
13+
// CHECK-LABEL: .Q@
1414
// CHECK-NEXT: Requirement signature: <Self where Self.[Q]X == Self.[Q]X.[P1]A, Self.[Q]Y : P2, Self.[Q]X.[P1]A == Self.[Q]Y.[P2]C>
1515
protocol Q {
1616
associatedtype X
File renamed without changes.

test/Generics/sr11997.swift renamed to test/Generics/issue-54431.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,29 @@
22

33
// https://github.com/apple/swift/issues/54431
44

5-
// CHECK: sr11997.(file).A@
5+
// CHECK-LABEL: .A@
66
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[A]X.[B]Y, Self.[A]X : B>
77
protocol A {
88
associatedtype X: B where X.Y == Self
99
}
1010

11-
// CHECK: sr11997.(file).B@
11+
// CHECK-LABEL: .B@
1212
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[B]Y.[A]X, Self.[B]Y : A>
1313
protocol B {
1414
associatedtype Y: A where Y.X == Self
1515
}
1616

17-
// CHECK: sr11997.(file).AA@
17+
// CHECK-LABEL: .AA@
1818
// CHECK-NEXT: Requirement signature: <Self where Self : A, Self.[A]X : BB>
1919
protocol AA: A where X: BB { }
2020

21-
// CHECK: sr11997.(file).BB@
21+
// CHECK-LABEL: .BB@
2222
// CHECK-NEXT: Requirement signature: <Self where Self : B, Self == Self.[BB]Z.[C]T, Self.[B]Y : AA, Self.[BB]Z : C>
2323
protocol BB: B where Y: AA {
2424
associatedtype Z: C where Z.T == Self
2525
}
2626

27-
// CHECK: sr11997.(file).C@
27+
// CHECK-LABEL: .C@
2828
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[C]T.[BB]Z, Self.[C]T : BB>
2929
protocol C {
3030
associatedtype T: BB where T.Z == Self

test/Generics/sr12120.swift renamed to test/Generics/issue-54555.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// https://github.com/apple/swift/issues/54555
44

5-
// CHECK: sr12120.(file).Swappable1@
5+
// CHECK-LABEL: .Swappable1@
66
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[Swappable1]Swapped.[Swappable1]Swapped, Self.[Swappable1]B == Self.[Swappable1]Swapped.[Swappable1]A, Self.[Swappable1]Swapped : Swappable1>
77
protocol Swappable1 {
88
associatedtype A
@@ -13,7 +13,7 @@ protocol Swappable1 {
1313
Swapped.Swapped == Self
1414
}
1515

16-
// CHECK: sr12120.(file).Swappable2@
16+
// CHECK-LABEL: .Swappable2@
1717
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[Swappable2]Swapped.[Swappable2]Swapped, Self.[Swappable2]B == Self.[Swappable2]Swapped.[Swappable2]A, Self.[Swappable2]Swapped : Swappable2>
1818
protocol Swappable2 {
1919
associatedtype A
@@ -23,7 +23,7 @@ protocol Swappable2 {
2323
Swapped.Swapped == Self
2424
}
2525

26-
// CHECK: sr12120.(file).Swappable3@
26+
// CHECK-LABEL: .Swappable3@
2727
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[Swappable3]Swapped.[Swappable3]Swapped, Self.[Swappable3]B == Self.[Swappable3]Swapped.[Swappable3]A, Self.[Swappable3]Swapped : Swappable3>
2828
protocol Swappable3 {
2929
associatedtype A
File renamed without changes.

test/Generics/sr12736.swift renamed to test/Generics/issue-55182.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// https://github.com/apple/swift/issues/55182
44

5-
// CHECK: sr12736.(file).ColorModel@
5+
// CHECK-LABEL: .ColorModel@
66
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[ColorModel]Float32Components.[ColorComponents]Model, Self.[ColorModel]Float32Components : ColorComponents>
77
public protocol ColorModel {
88
associatedtype Float32Components: ColorComponents where Float32Components.Model == Self
@@ -16,7 +16,7 @@ public protocol ColorPixel {
1616
associatedtype Model: ColorModel
1717
}
1818

19-
// CHECK: sr12736.(file).P@
19+
// CHECK-LABEL: .P@
2020
// CHECK-NEXT: Requirement signature: <Self where Self.[P]A : ColorPixel, Self.[P]B : ColorPixel, Self.[P]A.[ColorPixel]Model == Self.[P]B.[ColorPixel]Model>
2121
public protocol P {
2222
associatedtype A: ColorPixel
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/Generics/sr14485.swift renamed to test/Generics/issue-56840.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// https://github.com/apple/swift/issues/56840
44

5-
// CHECK: sr14485.(file).P@
5+
// CHECK-LABEL: .P@
66
// CHECK-NEXT: Requirement signature: <Self where Self.[P]Input == Self.[P]Output.[Numeric]Magnitude, Self.[P]Output : FixedWidthInteger, Self.[P]Output : SignedInteger>
77
protocol P {
88
// expected-warning@+2 {{redundant conformance constraint 'Self.Input' : 'FixedWidthInteger'}}
File renamed without changes.

test/Generics/sr14580.swift renamed to test/Generics/issue-56932.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public protocol MapReduceArithmetic: ScalarMultiplicative, Collection where Elem
1515
public protocol Tensor: MapReduceArithmetic where Element == Scalar {
1616
}
1717

18-
// CHECK-LABEL: sr14580.(file).ColorModel@
18+
// CHECK-LABEL: .ColorModel@
1919
// CHECK-LABEL: Requirement signature: <Self where Self : Tensor, Self == Self.[ColorModel]Float16Components.[ColorComponents]Model, Self.[Sequence]Element == Double, Self.[ColorModel]Float16Components : ColorComponents, Self.[ColorModel]Float32Components : ColorComponents, Self.[ColorModel]Float16Components.[Sequence]Element == Double, Self.[ColorModel]Float16Components.[ColorComponents]Model == Self.[ColorModel]Float32Components.[ColorComponents]Model, Self.[ColorModel]Float32Components.[Sequence]Element == Double>
2020
public protocol ColorModel: Tensor where Scalar == Double {
2121
associatedtype Float16Components: ColorComponents where Float16Components.Model == Self, Float16Components.Scalar == Double
File renamed without changes.

test/Generics/sr15009.swift renamed to test/Generics/issue-57339.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
// https://github.com/apple/swift/issues/57339
44

5-
// CHECK: sr15009.(file).P@
5+
// CHECK-LABEL: .P@
66
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[P]A.[Q]B, Self.[P]A : Q>
77
protocol P { associatedtype A: Q where A.B == Self }
88

9-
// CHECK: sr15009.(file).Q@
9+
// CHECK-LABEL: .Q@
1010
// CHECK-NEXT: Requirement signature: <Self where Self : CaseIterable, Self == Self.[Q]B.[P]A, Self.[Q]B : P>
1111
protocol Q: CaseIterable { associatedtype B: P where B.A == Self }

test/Generics/sr15790.swift renamed to test/Generics/issue-58067.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
// https://github.com/apple/swift/issues/58067
44

5-
// CHECK-LABEL: sr15790.(file).P1@
5+
// CHECK-LABEL: .P1@
66
// CHECK-NEXT: Requirement signature: <Self where Self.[P1]X : P1, Self.[P1]X == Self.[P1]X.[P1]X>
77
public protocol P1 {
88
associatedtype X: P1 where X.X == X
99
}
1010

11-
// CHECK-LABEL: sr15790.(file).P2@
11+
// CHECK-LABEL: .P2@
1212
// CHECK-NEXT: Requirement signature: <Self where Self : Collection, Self : P1, Self.[Sequence]Element : P1, Self.[P1]X == Self.[P2]Z.[P2]Y, Self.[P2]Y : P3, Self.[P2]Z : P2>
1313
public protocol P2: Collection, P1 where Element: P1, X == Z.Y {
1414
associatedtype Y: P3
1515
associatedtype Z: P2
1616
}
1717

18-
// CHECK-LABEL: sr15790.(file).P3@
18+
// CHECK-LABEL: .P3@
1919
// CHECK-NEXT: Requirement signature: <Self where Self : P2, Self.[P3]T : P2>
2020
public protocol P3: P2 {
2121
associatedtype T: P2
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/multifile/property-wrappers-sr10933.swift renamed to test/multifile/property-wrappers-issue-53324.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -typecheck -primary-file %s %S/Inputs/sr10933a.swift %S/Inputs/sr10933b.swift
1+
// RUN: %target-swift-frontend -typecheck -primary-file %s %S/Inputs/issue-53324a.swift %S/Inputs/issue-53324b.swift
22

33
// https://github.com/apple/swift/issues/53324
44
// Crash involving multiple files

test/multifile/property-wrappers-sr11458.swift renamed to test/multifile/property-wrappers-issue-53859.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -typecheck -primary-file %s %S/Inputs/sr11458.swift
1+
// RUN: %target-swift-frontend -typecheck -primary-file %s %S/Inputs/issue-53859.swift
22

33
// https://github.com/apple/swift/issues/53859
44
// Crash involving subscript in other file

test/multifile/property-wrappers-sr12429.swift renamed to test/multifile/property-wrappers-issue-54868.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22
// RUN: cp %s %t/main.swift
3-
// RUN: %target-build-swift -o %t/main %t/main.swift %S/Inputs/sr12429.swift
3+
// RUN: %target-build-swift -o %t/main %t/main.swift %S/Inputs/issue-54868.swift
44
// RUN: %target-codesign %t/main
55
// RUN: %target-run %t/main
66

test/multifile/protocol-conformance-sr-285.swift renamed to test/multifile/protocol-conformance-issue-42907.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -emit-ir -o - -primary-file %s %S/Inputs/sr-285-other.swift -module-name main
1+
// RUN: %target-swift-frontend -emit-ir -o - -primary-file %s %S/Inputs/issue-42907-other.swift -module-name main
22

33
// https://github.com/apple/swift/issues/42907
44
// Crash in IR generation due to missing conformance

test/multifile/protocol-conformance-sr6839.swift renamed to test/multifile/protocol-conformance-issue-49388.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-swift-frontend -emit-sil -module-name main -primary-file %s %S/Inputs/protocol-conformance-sr6839-other.swift | %FileCheck -check-prefix CHECK-FIRST %s
2-
// RUN: %target-swift-frontend -emit-sil -module-name main %s -primary-file %S/Inputs/protocol-conformance-sr6839-other.swift | %FileCheck -check-prefix CHECK-SECOND %s
1+
// RUN: %target-swift-frontend -emit-sil -module-name main -primary-file %s %S/Inputs/protocol-conformance-issue-49388-other.swift | %FileCheck -check-prefix CHECK-FIRST %s
2+
// RUN: %target-swift-frontend -emit-sil -module-name main %s -primary-file %S/Inputs/protocol-conformance-issue-49388-other.swift | %FileCheck -check-prefix CHECK-SECOND %s
33

44
// https://github.com/apple/swift/issues/49388
55

test/multifile/protocol-conformance-sr11018.swift renamed to test/multifile/protocol-conformance-issue-53408.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-swift-frontend -emit-sil -module-name main -primary-file %s %S/Inputs/protocol-conformance-sr11018-other.swift -verify
2-
// RUN: %target-swift-frontend -emit-sil -module-name main %s -primary-file %S/Inputs/protocol-conformance-sr11018-other.swift
1+
// RUN: %target-swift-frontend -emit-sil -module-name main -primary-file %s %S/Inputs/protocol-conformance-issue-53408-other.swift -verify
2+
// RUN: %target-swift-frontend -emit-sil -module-name main %s -primary-file %S/Inputs/protocol-conformance-issue-53408-other.swift
33

44
// https://github.com/apple/swift/issues/53408
55

0 commit comments

Comments
 (0)