Files
swift-mirror/test/SILGen/Inputs/accessibility_vtables_usableFromInline_helper.swift
Slava Pestov 111ae11302 SIL: Fix vtable layout with @usableFromInline methods
A @usableFromInline method is public at the ABI level, so we do not
need to introduce a new vtable entry.

Fixes <rdar://problem/74489981>.
2021-02-18 15:38:34 -05:00

10 lines
238 B
Swift

open class Base {
internal func internalMethod() {}
@usableFromInline internal func usableFromInlineMethod() {}
}
open class Middle : Base {
open override func internalMethod() {}
open override func usableFromInlineMethod() {}
}