Revert accidentally-committed files in r220460.

llvm-svn: 220461
This commit is contained in:
Richard Smith 2014-10-23 02:02:31 +00:00
parent feb54b6ded
commit 30428bc844
4 changed files with 1 additions and 22 deletions

View File

@ -1,8 +0,0 @@
#ifdef GIMME_AN_M
#ifndef M_H
#define M_H
const int m = 42;
#endif
#endif

View File

@ -1 +0,0 @@
#include "m.h"

View File

@ -61,10 +61,5 @@ module XL {
textual header "l.h" textual header "l.h"
} }
module XM {
private textual header "m.h"
textual header "m2.h"
}
module XS { module XS {
} }

View File

@ -1,6 +1,6 @@
// RUN: rm -rf %t // 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 -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 #define GIMME_A_K
#include "k.h" #include "k.h"
@ -8,11 +8,4 @@
#define GIMME_AN_L #define GIMME_AN_L
#include "l.h" // expected-error {{module XG does not depend on a module exporting 'l.h'}} #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; const int g = k + l;