mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
38 lines
416 B
Swift
38 lines
416 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 B<T{class B<h
|
|
let e=B{
|
|
T:{
|
|
struct d{
|
|
class A{var
|
|
A{i{
|
|
a:{{
|
|
}
|
|
class d{
|
|
struct B{
|
|
struct B{
|
|
var a{var a{
|
|
B{
|
|
}
|
|
{
|
|
func a
|
|
{
|
|
e=
|
|
{
|
|
var _=a{
|
|
{A{
|
|
}
|
|
{
|
|
let a<T{B:
|
|
{{
|
|
<T{a{
|
|
struct D{
|
|
{
|
|
}
|
|
func a{
|
|
{{
|
|
struct B
|