Files
swift-mirror/validation-test/compiler_crashers_fixed/25714-llvm-densemap-swift-identifier.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

14 lines
305 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
func< {
g: < {}
S<func g
class B{struct S
enum S<T where g:T:d{
func b< whereprotocol a
{