mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
16 lines
367 B
Swift
16 lines
367 B
Swift
// RUN: not --crash %target-swift-frontend %s -parse
|
|
// XFAIL: no_asserts
|
|
|
|
// Distributed under the terms of the MIT license
|
|
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
|
|
// Test case found by fuzzing
|
|
|
|
func b[1].h: c, f: (range.b where l.init() {
|
|
}("foo"")
|
|
enum A {
|
|
enum S<S {
|
|
func c((Any) {
|
|
}
|
|
protocol b : a {
|
|
func a(x(b<T)
|