Files
swift-mirror/validation-test/compiler_crashers_fixed/25919-llvm-foldingsetimpl-findnodeorinsertpos.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

12 lines
273 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
class A{init(){
{
}struct B<T where B:P{
class a
func a<h