mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
test: #import -> #include
Replace `#import` with `#include` as `#import` is a Microsoft type library inclusion feature on Windows. This enables additional APINotes tests to pass on Windows.
This commit is contained in:
@@ -30,11 +30,11 @@ __attribute__((objc_root_class))
|
|||||||
|
|
||||||
#endif // __OBJC__
|
#endif // __OBJC__
|
||||||
|
|
||||||
#import <APINotesFrameworkTest/Classes.h>
|
#include <APINotesFrameworkTest/Classes.h>
|
||||||
#import <APINotesFrameworkTest/Enums.h>
|
#include <APINotesFrameworkTest/Enums.h>
|
||||||
#import <APINotesFrameworkTest/Globals.h>
|
#include <APINotesFrameworkTest/Globals.h>
|
||||||
#import <APINotesFrameworkTest/ImportAsMember.h>
|
#include <APINotesFrameworkTest/ImportAsMember.h>
|
||||||
#import <APINotesFrameworkTest/Properties.h>
|
#include <APINotesFrameworkTest/Properties.h>
|
||||||
#import <APINotesFrameworkTest/Protocols.h>
|
#include <APINotesFrameworkTest/Protocols.h>
|
||||||
#import <APINotesFrameworkTest/Types.h>
|
#include <APINotesFrameworkTest/Types.h>
|
||||||
#import <APINotesFrameworkTest/SwiftWrapper.h>
|
#include <APINotesFrameworkTest/SwiftWrapper.h>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#import "app-bridging-header-to-pch.h"
|
#include "app-bridging-header-to-pch.h"
|
||||||
|
|
||||||
static inline int unit_test_function(int x) {
|
static inline int unit_test_function(int x) {
|
||||||
return x + 28;
|
return x + 28;
|
||||||
|
|||||||
Reference in New Issue
Block a user