Skip to content

Commit 45f5f08

Browse files
committed
Gardening: Migrate test suite to GH issues: expr
1 parent 57b7997 commit 45f5f08

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

test/expr/expressions.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ func basictest() {
7979
bind_test2() // expected-error {{cannot call value of non-function type 'Int'}}{{13-15=}}
8080
}
8181

82-
// <https://bugs.swift.org/browse/SR-3522>
83-
func testUnusedLiterals_SR3522() {
82+
// https://github.com/apple/swift/issues/46110
83+
// Test unused literals.
84+
do {
8485
42 // expected-warning {{integer literal is unused}}
8586
2.71828 // expected-warning {{floating-point literal is unused}}
8687
true // expected-warning {{boolean literal is unused}}
@@ -899,7 +900,8 @@ func r22913570() {
899900
f(1 + 1) // expected-error{{missing argument for parameter 'to' in call}}
900901
}
901902

902-
// SR-628 mixing lvalues and rvalues in tuple expression
903+
// https://github.com/apple/swift/issues/43245
904+
// Mixing lvalues and rvalues in tuple expression
903905
do {
904906
var x = 0
905907
var y = 1
@@ -911,8 +913,9 @@ do {
911913
x = (x,(3,y)).1.1
912914
}
913915

914-
// SR-3439 subscript with pound expressions.
915-
Sr3439: do {
916+
// https://github.com/apple/swift/issues/46027
917+
// Subscripting with pound expressions
918+
do {
916919
class B {
917920
init() {}
918921
subscript(x: Int) -> Int { return x }

0 commit comments

Comments
 (0)