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