mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This is enough to let the test case in rdar://problem/40899824 pass, and any callers of this function already need to be able to handle a nullptr result. There's a lot more work to do in this area, but it's nice to get the simple things working again.
14 lines
165 B
Objective-C
14 lines
165 B
Objective-C
#ifndef BAD
|
|
typedef struct {
|
|
int value;
|
|
} SoonToBeMissing;
|
|
#endif
|
|
|
|
@interface Impl
|
|
#ifndef BAD
|
|
- (void)use:(SoonToBeMissing)value;
|
|
#endif
|
|
|
|
- (void)unrelated;
|
|
@end
|