blob: 8a08cd8fef6ace56845140fb34af7b8cd629f8e8 [file] [log] [blame]
#if BEFORE
@_fixed_layout
open class AddVirtualMethod {
public init() {}
open func f1() -> Int {
return 1
}
}
#else
@_fixed_layout
open class AddVirtualMethod {
public init() {}
open func f1() -> Int {
return f2() + 1
}
open func f2() -> Int {
return 0
}
}
#endif