mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
212 B
Swift
6 lines
212 B
Swift
// {"signature":"swift::constraints::AllowTypeOrInstanceMemberFailure::diagnoseAsError()"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
struct a func b<c >(c = a [
|
|
extension a {
|
|
subscript->Int
|