summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/odr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/odr.cpp')
-rw-r--r--clang/test/Modules/odr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/odr.cpp b/clang/test/Modules/odr.cpp
index 4ac257cd03a..30143968ffb 100644
--- a/clang/test/Modules/odr.cpp
+++ b/clang/test/Modules/odr.cpp
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodules-cache-path=%t -I %S/Inputs/odr %s -verify -std=c++11
+// RUN: %clang_cc1 -x objective-c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/odr %s -verify -std=c++11
// expected-error@a.h:8 {{'X::n' from module 'a' is not present in definition of 'X' provided earlier}}
struct X { // expected-note {{definition has no member 'n'}}
OpenPOWER on IntegriCloud