Files
swift-mirror/validation-test/Runtime/Inputs/class-stubs-weak/first.swift
Slava Pestov 52fbe642ed Fix REQUIRES lines on class stubs tests
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>.
2019-05-08 22:22:27 -04:00

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
}
}