mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
These contain a mix of crashers that may or may not crash under non-asserts builds, avoid testing them for non-asserts builds. When fixed, they'll receive non-assert coverage.
8 lines
387 B
Swift
8 lines
387 B
Swift
// {"signature":"recordTypeWitness(swift::NormalProtocolConformance*, swift::AssociatedTypeDecl*, swift::Type, swift::TypeDecl*)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a{associatedtype b} protocol c
|
|
: a{d(b)} protocol e{associatedtype f} extension e {
|
|
protocol g : e, c { associatedtype f : c associatedtype b }
|
|
struct h<i> : g {
|
|
typealias f = i
|