Files
swift-mirror/test/SILOptimizer/Inputs/definite_init_cross_module/BridgingHeader.h
Jordan Rose 14198a360c Treat cross-module struct initializers as delegating in Swift 5
(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.
2017-11-10 10:59:24 -08:00

8 lines
85 B
C

struct CPoint {
double x, y;
};
struct NonnullWrapper {
void * _Nonnull ptr;
};