mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
(and when the struct in question is non-fixed-layout, which was already implemented) This ensures that these initializers are never fieldwise in Swift 5 mode, which makes it safe for library authors to add new fields.
8 lines
85 B
C
8 lines
85 B
C
struct CPoint {
|
|
double x, y;
|
|
};
|
|
|
|
struct NonnullWrapper {
|
|
void * _Nonnull ptr;
|
|
};
|