Files
swift-mirror/validation-test/compiler_crashers/0477-no-stacktrace.swift
Chris Willmore 513b05c283 compiler_crashers: Use %target-swift-frontend instead of %swift -sdk %sdk
This fixes compiler_crashers tests that use the ObjC interface on
iOS hardware SDKs.

Swift SVN r23458
2014-11-20 00:32:59 +00:00

57 lines
788 B
Swift

// RUN: rm -rf %t/clang-module-cache
// RUN: not --crash %target-swift-frontend %s -module-cache-path %t/clang-module-cache -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