Files
swift-mirror/validation-test/compiler_crashers_fixed/25669-swift-sourcefile-lookupcache-lookupvalue.swift
Doug Gregor 902f486c16 Don't allow superclass constraints to involve type parameters.
Fixes the crash in rdar://problem/21268222; eventually, we can support
this.

Swift SVN r30585
2015-07-24 18:45:06 +00:00

9 lines
277 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
let:{struct B<T where B:A{typealias F=Int
protocol a)func a<U