summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/textual-headers.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-10-23 02:02:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-10-23 02:02:31 +0000
commit30428bc844f780f686e90ed29bb5c821146c6db6 (patch)
tree29ec844f7199c3237c1e1275f1626e4546dee30c /clang/test/Modules/textual-headers.cpp
parentfeb54b6ded123f8118fdc20620d3f657dfeab485 (diff)
downloadbcm5719-llvm-30428bc844f780f686e90ed29bb5c821146c6db6.tar.gz
bcm5719-llvm-30428bc844f780f686e90ed29bb5c821146c6db6.zip
Revert accidentally-committed files in r220460.
llvm-svn: 220461
Diffstat (limited to 'clang/test/Modules/textual-headers.cpp')
-rw-r--r--clang/test/Modules/textual-headers.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/clang/test/Modules/textual-headers.cpp b/clang/test/Modules/textual-headers.cpp
index 54078999bd5..d1be8ad0321 100644
--- a/clang/test/Modules/textual-headers.cpp
+++ b/clang/test/Modules/textual-headers.cpp
@@ -1,6 +1,6 @@
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodule-maps -fmodules-cache-path=%t -fmodules-strict-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify
-// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodules-strict-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify -fmodules-no-error-recovery
+// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodules-strict-decluse -fmodule-name=XG -I %S/Inputs/declare-use %s -verify
#define GIMME_A_K
#include "k.h"
@@ -8,11 +8,4 @@
#define GIMME_AN_L
#include "l.h" // expected-error {{module XG does not depend on a module exporting 'l.h'}}
-#include "m2.h" // expected-error {{module XG does not depend on a module exporting 'm2.h'}}
-const int use_m = m;
-
-#define GIMME_AN_M
-#include "m.h"
-const int use_m_2 = m;
-
const int g = k + l;
OpenPOWER on IntegriCloud