Files
swift-mirror/test/Interpreter/Inputs/resilient_objc_class.swift
Slava Pestov 1851630e81 IRGen: Fix crash with empty-sized field in a class with resilient ancestry
The problem was that HasObjCAncestry was not getting set if
HasResilientAncestry was true, and thus emitFieldOffsetGlobals() was
marking the field offset as const even though the Objective-C
runtime might slide it.

Fixes <rdar://problem/48031465>.
2020-04-27 19:41:42 -04:00

4 lines
77 B
Swift

import ObjCClasses
open class HasResilientObjCBaseClass : HasHiddenIvars {}