mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I couldn't update complete_func_reference. Fixing the problem there is tracked by rdar://problem/41496748.
18 lines
474 B
Swift
18 lines
474 B
Swift
// Import this class in the test.
|
|
@objc public class Bar_ImportedObjcClass {
|
|
@objc public func bar_ImportedObjcClass_InstanceFunc1() {}
|
|
@objc public class func bar_ImportedObjcClass_ClassFunc1() {}
|
|
@objc public subscript(i: Bar_ImportedObjcClass) -> Int {
|
|
get {
|
|
return 0
|
|
}
|
|
}
|
|
@objc public var bar_ImportedObjcClass_Property1: Int = 0
|
|
}
|
|
|
|
// Don't import this class in the test.
|
|
@objc public class Bar_NonImportedObjcClass {
|
|
public func ERROR() {}
|
|
}
|
|
|