xref: /llvm-project/clang/test/Modules/Inputs/namespaces-top.h (revision 696e812bb3f7eb03b97a624b8ab487bb70e8f600)
1e57e752bSDouglas Gregor namespace N1 {
2e57e752bSDouglas Gregor   int& f(int);
3e57e752bSDouglas Gregor }
4e57e752bSDouglas Gregor 
5e57e752bSDouglas Gregor namespace N2 {
6e57e752bSDouglas Gregor   int& f(int);
7e57e752bSDouglas Gregor }
8e57e752bSDouglas Gregor 
9e57e752bSDouglas Gregor namespace N3 {
10e57e752bSDouglas Gregor   int& f(int);
11e57e752bSDouglas Gregor }
12540fd813SDouglas Gregor 
13540fd813SDouglas Gregor namespace N12 { }
14540fd813SDouglas Gregor 
154abe0a8dSRichard Smith namespace N13 {
164abe0a8dSRichard Smith   void f();
174abe0a8dSRichard Smith   int f(int);
184abe0a8dSRichard Smith   void (*p)() = &f;
194abe0a8dSRichard Smith }
20961eae5fSRichard Smith 
21961eae5fSRichard Smith namespace AddAndReexportBeforeImport {
22961eae5fSRichard Smith   int S;
23961eae5fSRichard Smith }
24*696e812bSRichard Smith 
25*696e812bSRichard Smith namespace Empty {}
26