commit | 0fdc09fe680787b855cf20183c4bd3b83f2c907f | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 09 17:38:47 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 09 17:38:47 2012 +0000 |
tree | d0b4b5a3084439d53d910b4536bcc6f9c10e0522 | |
parent | c6c8e0ec96bb64f1b9f543d7c8317c6090f80a30 [diff] [blame] |
Implement merging of namespace-scope declarations across modules, so that we can merge, for example, two occurrences of namespace N { void f(); } in two disjoint modules. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147780 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Modules/Inputs/namespaces-left.h b/test/Modules/Inputs/namespaces-left.h index 6835cda..ea2ae2b 100644 --- a/test/Modules/Inputs/namespaces-left.h +++ b/test/Modules/Inputs/namespaces-left.h
@@ -25,3 +25,15 @@ namespace N7 { int &f(int); } + +namespace N8 { + int &f(int); +} + +namespace N9 { + int &f(int); +} + +namespace N10 { + int &f(int); +}