aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/requires.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/requires.m')
-rw-r--r--test/Modules/requires.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Modules/requires.m b/test/Modules/requires.m
index ff0ddfeb3359..155c6aec5dc4 100644
--- a/test/Modules/requires.m
+++ b/test/Modules/requires.m
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -Wauto-import -fmodules-cache-path=%t -fmodules -F %S/Inputs %s -verify -fmodule-feature custom_req1
+// RUN: %clang_cc1 -Wauto-import -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs %s -verify -fmodule-feature custom_req1
@import DependsOnModule.CXX; // expected-error{{module 'DependsOnModule.CXX' requires feature 'cplusplus'}}
@import DependsOnModule.NotCXX;