Files
swift-mirror/validation-test/compiler_crashers/0477-no-stacktrace.swift
Doug Gregor e855ae8f58 Clang importer: only consider imported initializers when filtering out duplicates.
Fixes rdar://problem/18500201 and 16 of the crashes in the crash suite.

Swift SVN r24982
2015-02-05 00:07:58 +00:00

56 lines
702 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
extension NSSet {
var d {
}
protocol A {
}
protocol P {
let t: T) {
}
}
convenience init(array: c) {
assert() -> String {
var b {
class A {
protocol P {
}
}
}
enum A : NSObject {
}
}
typealias B<T {
func b.d: NSObject {
typealias h: AnyObject) {
}
}
convenience init<T: C {
}
struct c = B<f = compose<T) -> {
}
return b: c: NSObject {
d: Array) {
}
class A {
class A {
}
protocol C {
}
d: I.b in x }
}
}(c: C> U, V>()
}
class A : NSObject {
func g<T> {
}
}
var d {
}
}
import Foundation