Douglas Gregor | 5821249 | 2010-02-24 21:53:36 +0000 | [diff] [blame] | 1 | // Merge success |
2 | namespace N1 { | ||||
3 | extern int x0; | ||||
4 | } | ||||
5 | |||||
6 | // Merge multiple namespaces | ||||
7 | namespace N2 { | ||||
8 | extern int x; | ||||
9 | } | ||||
10 | namespace N2 { | ||||
11 | extern float y; | ||||
12 | } | ||||
13 | |||||
14 | // Merge namespace with conflict | ||||
15 | namespace N3 { | ||||
16 | extern double z; | ||||
17 | } |