Files
swift-mirror/validation-test/compiler_crashers/1085-swift-declcontext-lookupqualified.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

32 lines
604 B
Swift

// RUN: not --crash %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<T : A> {
func f<g>() -> (g, g -> g) -> g {
d j d.i = {
}
{
g) {
h }
}
protocol f {
}
class d: f{ class func i {}
struct d<f : e,e where g.h == f.h> {
}
}
protocol a {
typeal= D>(e: A.B) {
}
}
}
override func d() -> String {
func}
func b((Any, c))(Any, AnyObject
func g<T where T.E == F>(f: B<T>) {
}
struct c<S: SequenceType, T where Optional<T> == S.Generator.Element>