mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We use the just-built clang without any -target or -sdk flags. Keep things simple and limit the test to macOS for now. Fixes <rdar://problem/50586614>.
12 lines
202 B
Swift
12 lines
202 B
Swift
import Foundation
|
|
|
|
open class BaseClass : NSObject {
|
|
@objc dynamic open func instanceMethod() -> Int {
|
|
return 42
|
|
}
|
|
|
|
@objc dynamic open class func classMethod() -> Int {
|
|
return 31337
|
|
}
|
|
}
|