mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
45 lines
457 B
Swift
45 lines
457 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
|
|
|
|
var A{{
|
|
""""""[1
|
|
func a{{func b{
|
|
{
|
|
class A{
|
|
var A{
|
|
var d{
|
|
enum S{
|
|
func b{
|
|
var d{
|
|
{
|
|
var A{
|
|
{
|
|
}
|
|
let g{
|
|
enum S{
|
|
func i{
|
|
{
|
|
}
|
|
let:{{
|
|
class A{
|
|
var f{{
|
|
}
|
|
var A{{
|
|
{
|
|
class B{
|
|
enum S{
|
|
let g{
|
|
func a{
|
|
let a=e{typealias F=e{
|
|
b
|
|
{
|
|
{
|
|
}
|
|
}
|
|
{
|
|
let a{func b{
|
|
e=A
|