mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
20 lines
364 B
Swift
20 lines
364 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
|
|
|
|
class A{
|
|
let e=d<a}let a{if{
|
|
class S{
|
|
var f={class A{
|
|
struct c<T where g:A{
|
|
struct
|
|
b{
|
|
struct c{
|
|
class A{
|
|
class C{
|
|
enum S<a{var f=c
|
|
struct c
|
|
struct c
|