File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -329,6 +329,11 @@ module ptrauth {
329
329
export *
330
330
}
331
331
332
+ module feature_availability {
333
+ header "feature-availability.h"
334
+ export *
335
+ }
336
+
332
337
/* TO_UPSTREAM(BoundsSafety) ON */
333
338
module ptrcheck {
334
339
header "ptrcheck.h"
Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -triple arm64-apple-macosx -fmodules %S/Inputs/feature-availability/module.modulemap -fmodule-name=Feature1 -emit-module -o %t/feature1.pcm
2
2
// RUN: %clang_cc1 -triple arm64-apple-macosx -fmodules %S/Inputs/feature-availability/module.modulemap -fmodule-name=Feature2 -fmodule-file=%t/feature1.pcm -emit-module -o %t/feature2.pcm
3
3
// RUN: %clang_cc1 -triple arm64-apple-macosx -fmodules -fmodule-file=%t/feature2.pcm -I %S/Inputs/feature-availability -emit-llvm -o - %s | FileCheck %s
4
+ // RUN: %clang_cc1 -triple arm64-apple-macosx -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/feature-availability -Werror=non-modular-include-in-module -emit-llvm -o - %s | FileCheck %s
4
5
5
6
#include <feature-availability.h>
6
7
#include "feature2.h"
You can’t perform that action at this time.
0 commit comments