mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
27 lines
409 B
Swift
27 lines
409 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{
|
|
{
|
|
}}struct c<T where g:N{
|
|
{
|
|
}enum S
|
|
{
|
|
class A{
|
|
let g=x{
|
|
if{
|
|
protocol A{
|
|
enum a{
|
|
class B{enum k{class A{
|
|
enum S{
|
|
class d{
|
|
class B{var d{
|
|
let a=e=a{{
|
|
struct d{{}func b{
|
|
enum k{
|
|
struct
|
|
d
|