xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/Inputs/namespaces-right.h (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc @import namespaces_top;
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc double &global(double);
4*f4a2713aSLionel Sambuc double &global2(double);
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc namespace LookupBeforeImport {
7*f4a2713aSLionel Sambuc   double &f(double);
8*f4a2713aSLionel Sambuc }
9*f4a2713aSLionel Sambuc 
10*f4a2713aSLionel Sambuc namespace N2 { }
11*f4a2713aSLionel Sambuc 
12*f4a2713aSLionel Sambuc namespace N2 { }
13*f4a2713aSLionel Sambuc 
14*f4a2713aSLionel Sambuc namespace N2 { }
15*f4a2713aSLionel Sambuc 
16*f4a2713aSLionel Sambuc namespace N2 { }
17*f4a2713aSLionel Sambuc 
18*f4a2713aSLionel Sambuc namespace N2 {
19*f4a2713aSLionel Sambuc   double& f(double);
20*f4a2713aSLionel Sambuc }
21*f4a2713aSLionel Sambuc 
22*f4a2713aSLionel Sambuc namespace N3 {
23*f4a2713aSLionel Sambuc   double& f(double);
24*f4a2713aSLionel Sambuc }
25*f4a2713aSLionel Sambuc 
26*f4a2713aSLionel Sambuc namespace N5 {
27*f4a2713aSLionel Sambuc   double &f(double);
28*f4a2713aSLionel Sambuc }
29*f4a2713aSLionel Sambuc 
30*f4a2713aSLionel Sambuc namespace N6 {
31*f4a2713aSLionel Sambuc   double &f(double);
32*f4a2713aSLionel Sambuc }
33*f4a2713aSLionel Sambuc 
34*f4a2713aSLionel Sambuc namespace N7 {
35*f4a2713aSLionel Sambuc   double &f(double);
36*f4a2713aSLionel Sambuc }
37*f4a2713aSLionel Sambuc 
38*f4a2713aSLionel Sambuc namespace N8 {
39*f4a2713aSLionel Sambuc   int &f(int);
40*f4a2713aSLionel Sambuc }
41*f4a2713aSLionel Sambuc 
42*f4a2713aSLionel Sambuc namespace N9 {
43*f4a2713aSLionel Sambuc   int &f(int);
44*f4a2713aSLionel Sambuc }
45*f4a2713aSLionel Sambuc 
46*f4a2713aSLionel Sambuc namespace N10 {
47*f4a2713aSLionel Sambuc   int &f(int);
48*f4a2713aSLionel Sambuc }
49*f4a2713aSLionel Sambuc 
50*f4a2713aSLionel Sambuc 
51*f4a2713aSLionel Sambuc 
52*f4a2713aSLionel Sambuc 
53*f4a2713aSLionel Sambuc 
54*f4a2713aSLionel Sambuc 
55*f4a2713aSLionel Sambuc 
56*f4a2713aSLionel Sambuc namespace N11 {
57*f4a2713aSLionel Sambuc   namespace {
58*f4a2713aSLionel Sambuc     class Foo;
59*f4a2713aSLionel Sambuc   }
60*f4a2713aSLionel Sambuc   void consumeFoo(Foo*);
61*f4a2713aSLionel Sambuc }
62*f4a2713aSLionel Sambuc 
63*f4a2713aSLionel Sambuc namespace N12 {
64*f4a2713aSLionel Sambuc   namespace {
65*f4a2713aSLionel Sambuc     class Foo;
66*f4a2713aSLionel Sambuc   }
67*f4a2713aSLionel Sambuc   void consumeFoo(Foo*);
68*f4a2713aSLionel Sambuc }
69