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