summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/redecl-merge-left-left.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-22 19:44:59 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-22 19:44:59 +0000
commit0475cd88c95a6e87c7530f93085e5cbd66c16832 (patch)
tree3926cb397af46d772378260081f83c62b9897396 /clang/test/Modules/Inputs/redecl-merge-left-left.h
parent292dc080e06ca46097f300968138140c620faf55 (diff)
downloadbcm5719-llvm-0475cd88c95a6e87c7530f93085e5cbd66c16832.tar.gz
bcm5719-llvm-0475cd88c95a6e87c7530f93085e5cbd66c16832.zip
If we end up merging an Objective-C class with an existing Objective-C
class that comes from a different module file, make sure that we load all of the pending declarations for the original declaration. llvm-svn: 147168
Diffstat (limited to 'clang/test/Modules/Inputs/redecl-merge-left-left.h')
-rw-r--r--clang/test/Modules/Inputs/redecl-merge-left-left.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/redecl-merge-left-left.h b/clang/test/Modules/Inputs/redecl-merge-left-left.h
new file mode 100644
index 00000000000..0d7fd6a5145
--- /dev/null
+++ b/clang/test/Modules/Inputs/redecl-merge-left-left.h
@@ -0,0 +1,5 @@
+__import_module__ redecl_merge_left;
+
+@class C4;
+void accept_a_C4(C4*);
+
OpenPOWER on IntegriCloud