mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This fixes compiler_crashers tests that use the ObjC interface on iOS hardware SDKs. Swift SVN r23458
19 lines
356 B
Swift
19 lines
356 B
Swift
// RUN: not %target-swift-frontend %s -parse
|
|
|
|
// Distributed under the terms of the MIT license
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// Test case found by fuzzing
|
|
|
|
override func g<b[0x31] as a<T) -> {
|
|
class A {
|
|
struct S {
|
|
func g<d<T, c() {
|
|
}
|
|
}
|
|
class b: A {
|
|
case C(A<T : Int {
|
|
}
|
|
}
|
|
class a {
|
|
protocol c : A
|