summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/modular_maps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/modular_maps.cpp')
-rw-r--r--clang/test/Modules/modular_maps.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/Modules/modular_maps.cpp b/clang/test/Modules/modular_maps.cpp
index 9c9aba85a91..cb305f2dfdb 100644
--- a/clang/test/Modules/modular_maps.cpp
+++ b/clang/test/Modules/modular_maps.cpp
@@ -1,5 +1,7 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -x objective-c++ -fmodules-cache-path=%t -fmodules -fmodule-map-file=%S/Inputs/modular_maps/modulea.map -I %S/Inputs/modular_maps %s -verify
+// RUN: %clang_cc1 -fmodules -fmodule-maps -fmodules-cache-path=%t -fmodule-map-file=%S/Inputs/modular_maps/modulea.map -I %S/Inputs/modular_maps %s -verify
+
+// expected-warning@Inputs/modular_maps/modulea.map:4{{header 'doesnotexists.h' not found}}
#include "common.h"
#include "a.h"
OpenPOWER on IntegriCloud