Files
swift-mirror/validation-test/compiler_crashers_fixed/00538-swift-clangmoduleunit-getadaptermodule.swift

21 lines
362 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
import Foundation
func b: A()
protocol A {
protocol P {
for b = { c: NSManagedObject {
}
}
}
protocol P {
struct Q<T {
}
typealias h: a {
}
func a