Files
swift-mirror/validation-test/compiler_crashers_fixed/1646-super-inside-an-autoclosure.swift
2015-05-02 02:46:34 +00:00

15 lines
425 B
Swift

// RUN: %target-swift-frontend %s -emit-silgen
// REQUIRES: objc_interop
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
import CoreData
class A : NSManagedObjectContext {
// Error-handling mutilates this test a lot.
override func isEqual(other: AnyObject?) -> Bool {
self.hasChanges || super.isEqual(other)
}
}