mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
16 lines
243 B
Swift
16 lines
243 B
Swift
// RUN: not %target-swift-frontend %s -parse
|
|
|
|
// rdar://22007370
|
|
|
|
class Foo {
|
|
subscript(key: String) -> String {
|
|
get { a }
|
|
set { b }
|
|
}
|
|
|
|
subscript(key: String) -> String {
|
|
get { a }
|
|
set { b }
|
|
}
|
|
}
|