Files
swift-mirror/test/decl/protocol/conforms/access_control_crash.swift
Slava Pestov 0dba5626b2 Sema: Fix crashes in witness access control checking
This fixes a crash-on-invalid regression from the fix for
<rdar://problem/43824052>.
2019-02-22 14:03:39 -05:00

8 lines
259 B
Swift

// RUN: not %target-swift-frontend -typecheck %s -swift-version 4
// RUN: not %target-swift-frontend -typecheck %s -swift-version 5
public struct Horse : OptionSet {
typealias Element = Horse // this was not public...
public static let horse = Horse()
}