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 {
332332 export *
333333}
334334
335+ module feature_availability {
336+ header "feature-availability.h"
337+ export *
338+ }
339+
335340/* TO_UPSTREAM(BoundsSafety) ON */
336341module ptrcheck {
337342 header "ptrcheck.h"
Original file line number Diff line number Diff line change 11// RUN: %clang_cc1 -triple arm64-apple-macosx -fmodules %S/Inputs/feature-availability/module.modulemap -fmodule-name=Feature1 -emit-module -o %t/feature1.pcm
22// 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
33// 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
45
56#include <feature-availability.h>
67#include "feature2.h"
You can’t perform that action at this time.
0 commit comments