Files
swift-mirror/validation-test/compiler_crashers/033-constraint-ordering-heap-trash.swift
Doug Gregor 72e9ca5d67 Move the computation of generic signatures into the archetype builder.
The archetype builder is responsible for figuring out what should go
into a generic signature anyway, so move the generic signature
creation there. This will also allow us to eliminate some code
duplication across Sema and AST.

Fixes compiler crasher 033.

Swift SVN r23030
2014-10-31 06:04:05 +00:00

11 lines
216 B
Swift

// RUN: %swift %s -emit-ir -o %t
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// rdar://17240924
struct d<f : e, g: e where g.h == f.h> {
}
protocol e {
typealias h
}