mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
7 lines
385 B
Swift
7 lines
385 B
Swift
// {"signature":"swift::constraints::ConstraintSystem::matchTypes(swift::Type, swift::Type, swift::constraints::ConstraintKind, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::constraints::ConstraintLocatorBuilder)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
weak var a : b? a
|
|
class c
|
|
class b
|
|
weak var a: c?
|