Files
swift-mirror/validation-test/compiler_crashers_2/462ee2aa7dc23cf3.swift
Hamish Knight d3abee7e96 [test] Require asserts for all compiler_crashers_2 tests
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.
2025-06-09 12:40:34 +01:00

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