mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
35 lines
415 B
Swift
35 lines
415 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
|
|
|
|
struct d<T where g:d{enum b{
|
|
struct S
|
|
var:{{
|
|
)}
|
|
{
|
|
}
|
|
{struct Q{
|
|
var f=a{
|
|
{{
|
|
{}
|
|
{
|
|
d<a{
|
|
struct B{
|
|
struct S{
|
|
struct d{
|
|
func i{
|
|
{
|
|
{
|
|
}
|
|
{
|
|
b
|
|
d{
|
|
class A{
|
|
func d{
|
|
protocol c{
|
|
class a{class A{
|
|
protocol a{
|
|
var T
|