This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 201827

Summary: Uresolved nested using
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2011-09-08 14:35:13 UTC
struct bug201811_A {
    int n;
    struct B {
        int m;
    };
};

namespace bug201811_std1 {
    namespace tr2 {
        using ::bug201811_A;
        bug201811_A a1;
        namespace tr1 {
            using tr2::bug201811_A;
        }
    }
}

int bug201811_main() {
//    bug201811_std1::tr2::tr1::A x;
//    int n = x->n;
    bug201811_std1::tr2::bug201811_A x2;
    bug201811_std1::tr2::bug201811_A::B x3;
    bug201811_std1::tr2::tr1::bug201811_A::B x4;
    x2.n;
    x3.m;
    x4.m;

    return 0;
}
Comment 1 Vladimir Voskresensky 2011-09-08 15:28:51 UTC
unresolved only 
bug201811_std1::tr2::tr1::bug201811_A::B x4;