Files
swift-mirror/test/multifile/Inputs/objc-escape/Escaper.h
Arnold Schwaighofer 9048e97e83 Executable test case for passing a noescape closure to Objective-c which
escapes the closure.

We expect the program to crash with an explanation.

rdar://39682865
2018-05-01 07:24:19 -07:00

7 lines
115 B
Objective-C

#import <Foundation/Foundation.h>
@interface Escaper : NSObject
@property void (^escape)(void);
- (id) init;
@end