Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0112-rdar33139928.swift
Doug Gregor 1c6c51d137 [GSB] Cope with elided conformance requirements in concrete nested types.
If we encounter an associated type reference within a concrete type, but
haven't seen a specific protocol requirement, add the protocol
conformance.

Fixes rdar://problem/33139928 and another crasher.
2017-07-05 23:08:41 -07:00

5 lines
134 B
Swift

// RUN: %target-swift-frontend -swift-version 4 %s -emit-ir
struct X<Elements: Sequence> { }
extension X where Elements == [Int] { }