Skip to content

Commit 24ac121

Browse files
committed
Gardening: Migrate test suite to GH issues: validation-test/compiler_crashers_2_fixed (3/4)
1 parent 04f1cde commit 24ac121

File tree

84 files changed

+193
-39
lines changed

Some content is hidden

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

84 files changed

+193
-39
lines changed

validation-test/compiler_crashers_2_fixed/sr1329.swift renamed to validation-test/compiler_crashers_2_fixed/issue-43937.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -emit-ir %s -disable-objc-attr-requires-foundation-module
22
// REQUIRES: objc_interop
33

4+
// https://github.com/apple/swift/issues/43937
5+
46
@objc protocol TestProtocol {
57
func foo(i: Int)
68
}

validation-test/compiler_crashers_2_fixed/sr4203.swift renamed to validation-test/compiler_crashers_2_fixed/issue-46786.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend -emit-ir %s
22

3+
// https://github.com/apple/swift/issues/46786
4+
35
public protocol SomeProto {
46
associatedtype ThingType
57
func getThing() -> ThingType

validation-test/compiler_crashers_2_fixed/sr-4571.swift renamed to validation-test/compiler_crashers_2_fixed/issue-47148.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend -emit-ir %s
22

3+
// https://github.com/apple/swift/issues/47148
4+
35
func add(_ a: Int, _ b: Int) throws -> Int {
46
return a + b
57
}

validation-test/compiler_crashers_2_fixed/sr5330.swift renamed to validation-test/compiler_crashers_2_fixed/issue-47904.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-swift-frontend -emit-module -o %t %s -I %S/Inputs/sr5330/ -module-name TEST
3-
// RUN: echo 'import TEST; x' | not %target-swift-frontend -typecheck - -I %S/Inputs/sr5330/ -I %t
2+
// RUN: %target-swift-frontend -emit-module -o %t %s -I %S/Inputs/issue-47904/ -module-name TEST
3+
// RUN: echo 'import TEST; x' | not %target-swift-frontend -typecheck - -I %S/Inputs/issue-47904/ -I %t
44

55
// REQUIRES: objc_interop
66

7+
// https://github.com/apple/swift/issues/47904
8+
79
import ObjCPart
810

911
public typealias Alias = MyCollection

validation-test/compiler_crashers_2_fixed/sr-5836.swift renamed to validation-test/compiler_crashers_2_fixed/issue-48406.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: not %target-typecheck-verify-swift
22

3+
// https://github.com/apple/swift/issues/48406
4+
35
extension Dictionary {
46
func doSomething<T>() -> [T : Value] {
57
let pairs: [(T, Value)] = []

0 commit comments

Comments
 (0)