summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/diamond_bottom.h3
-rw-r--r--clang/test/Modules/Inputs/diamond_left.h2
-rw-r--r--clang/test/Modules/Inputs/diamond_right.h2
-rw-r--r--clang/test/Modules/Inputs/load_failure.h1
4 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/diamond_bottom.h b/clang/test/Modules/Inputs/diamond_bottom.h
index 40afc9b1523..6351d028fbc 100644
--- a/clang/test/Modules/Inputs/diamond_bottom.h
+++ b/clang/test/Modules/Inputs/diamond_bottom.h
@@ -1 +1,4 @@
+__import__ diamond_left;
+__import__ diamond_right;
+
char bottom(char *x);
diff --git a/clang/test/Modules/Inputs/diamond_left.h b/clang/test/Modules/Inputs/diamond_left.h
index 9758b85d974..8da494cccad 100644
--- a/clang/test/Modules/Inputs/diamond_left.h
+++ b/clang/test/Modules/Inputs/diamond_left.h
@@ -1,3 +1,5 @@
+__import__ diamond_top;
+
float left(float *);
int top_left(char *c);
diff --git a/clang/test/Modules/Inputs/diamond_right.h b/clang/test/Modules/Inputs/diamond_right.h
index 9adeb6a9a89..2efa277b1a9 100644
--- a/clang/test/Modules/Inputs/diamond_right.h
+++ b/clang/test/Modules/Inputs/diamond_right.h
@@ -1,3 +1,5 @@
+__import__ diamond_top;
+
double right(double *);
struct left_and_right {
diff --git a/clang/test/Modules/Inputs/load_failure.h b/clang/test/Modules/Inputs/load_failure.h
new file mode 100644
index 00000000000..5bcb44dcb3d
--- /dev/null
+++ b/clang/test/Modules/Inputs/load_failure.h
@@ -0,0 +1 @@
+int fail(int);
OpenPOWER on IntegriCloud