blob: 67b39ad0cdbf9b83012063c724f53ae4bdaadd83 [file] [log] [blame]
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -o /dev/null %s
// <rdar://22000564> Crash on Subscript taking a tuple argument list
class r22000564 {
subscript (position: (Int, Int)) -> Int {
get { return 32 }
set {}
}
subscript(native native: Int) -> Int {
get { return native }
set {}
}
subscript (position position: (Int, Int)) -> Int {
get { return 32 }
set {}
}
}