forked from OSchip/llvm-project
Revert accidentally-committed files in r220460.
llvm-svn: 220461
This commit is contained in:
parent
feb54b6ded
commit
30428bc844
|
@ -1,8 +0,0 @@
|
|||
#ifdef GIMME_AN_M
|
||||
|
||||
#ifndef M_H
|
||||
#define M_H
|
||||
const int m = 42;
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1 +0,0 @@
|
|||
#include "m.h"
|
|
@ -61,10 +61,5 @@ module XL {
|
|||
textual header "l.h"
|
||||
}
|
||||
|
||||
module XM {
|
||||
private textual header "m.h"
|
||||
textual header "m2.h"
|
||||
}
|
||||
|
||||
module XS {
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue