blob: ec92846974723ea4e4018f60619d5a7141c333b2 [file] [log] [blame]
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-sil -I %S/Inputs/custom-modules %s
// REQUIRES: objc_interop
import Foundation
// Note: make sure we don't get a bogus error from nowhere,
// error: a declaration cannot be both 'final' and 'dynamic'
extension NSObject {
public static let staticIntProperty: Int = 17
}
final class MyClass : NSObject { }
extension MyClass {
public static var otherStaticIntProperty: Int = 17
}