mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
24 lines
524 B
Swift
24 lines
524 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
|
|
|
|
// This test was tweaked slightly from the original 1509-bool.swift, because an
|
|
// unrelated change happened to avoid the crash.
|
|
|
|
ance(x) { self.c]
|
|
var b {
|
|
}
|
|
case ..d<T>, U, (c == {
|
|
return self.h == e? = {
|
|
}
|
|
for c : Sequence where f: C {
|
|
func b: Int
|
|
}
|
|
}
|
|
}
|
|
protocol a {
|
|
func b(Any] = "a<T) {
|
|
typealias A : A {
|