aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser/namespace.good
blob: 5389fe1318d92a4788eae80df06467ba65e0b510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

namespace ns {
    int a = 1;
    int b = inner:ia;
    int c = inner:a;
    int d = a;
    
    namespace inner {
        int ia = 2;
        int a = 3;
        int b = c;
        int ic = ns:c;
    }
    
    namespace empty { }
}