Files
swift-mirror/validation-test/compiler_crashers_fixed/27767-swift-constructordecl-constructordecl.swift
2015-09-22 21:08:21 +00:00

31 lines
458 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
func b
{class n{
{{
{
{ {
{{
{ {
{
}}b{}}}}}
}}}}
class B:A
struct Q{
struct Q{
a A{ { {{ {
}}}}}protocol a{
struct S{ b{
}protocol a{
struct Q:a}}}typealias A
}}
:{ }protocol A{{}typealias d
protocol a{struct
{
}typealias f
{{}}typealias d:f