mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Specifically, when the class is referenced from Objective-C first,
before being referenced from Swift in any way. This is important for
resilience, since up until now Objective-C isn't used to the size of a
class changing based on anything other than a superclass's size
changing.
This is basically the test that would have gone with 9024768b0 had
there been a build of libobjc to test it with.
rdar://problem/45718008
7 lines
93 B
Objective-C
7 lines
93 B
Objective-C
#import "OneWordSuperclass.h"
|
|
|
|
@implementation OneWordSuperclass {
|
|
intptr_t unused;
|
|
}
|
|
@end
|