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 5070f7d5bf9..9c9aba85a91 100644
--- a/clang/test/Modules/modular_maps.cpp
+++ b/clang/test/Modules/modular_maps.cpp
@@ -1,6 +1,8 @@
// 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
+#include "common.h"
#include "a.h"
#include "b.h" // expected-error {{private header}}
-const int val = a + b; // expected-error {{undeclared identifier}}
+const int v = a + c;
+const int val = a + b + c; // expected-error {{undeclared identifier}}
OpenPOWER on IntegriCloud