mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
27 lines
378 B
Swift
27 lines
378 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
|
|
|
|
:A:f
|
|
func b<S : {
|
|
class
|
|
{ }struct Q{
|
|
func b:a{
|
|
protocol a{class a<
|
|
func a<T
|
|
func < {
|
|
"
|
|
}
|
|
}
|
|
func a{
|
|
}
|
|
typealiasB{struct
|
|
}
|
|
func g:B<c{
|
|
class A : A
|
|
protocol A
|
|
{
|
|
: d{
|