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 @@ -332,6 +332,11 @@ module ptrauth {
332
332
export *
333
333
}
334
334
335
+ module feature_availability {
336
+ header "feature-availability.h"
337
+ export *
338
+ }
339
+
335
340
/* TO_UPSTREAM(BoundsSafety) ON */
336
341
module ptrcheck {
337
342
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