mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
384 B
Swift
14 lines
384 B
Swift
// RUN: not --crash %target-swift-frontend %s -emit-silgen
|
|
// XFAIL: no_asserts
|
|
|
|
// Distributed under the terms of the MIT license
|
|
// Test case submitted to project by http://github.com/martijnwalraven (Martijn Walraven)
|
|
// rdar://18662915
|
|
|
|
import Foundation
|
|
class Test: NSObject {
|
|
override func isEqual(object: AnyObject?) -> Bool {
|
|
return false && super.isEqual(object)
|
|
}
|
|
}
|