summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/redecl-merge-right.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/redecl-merge-right.h')
-rw-r--r--clang/test/Modules/Inputs/redecl-merge-right.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/redecl-merge-right.h b/clang/test/Modules/Inputs/redecl-merge-right.h
index 26eed69b91b..f5e4eb8ee44 100644
--- a/clang/test/Modules/Inputs/redecl-merge-right.h
+++ b/clang/test/Modules/Inputs/redecl-merge-right.h
@@ -9,6 +9,15 @@ __import_module__ redecl_merge_top;
@class B;
+// Test declarations in different modules with no common initial
+// declaration.
+@class C;
+C *get_a_C(void);
+@class C2;
+C2 *get_a_C2(void);
+@class C3;
+C3 *get_a_C3(void);
+
@class Explicit;
int *explicit_func(void);
OpenPOWER on IntegriCloud