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 - Uresolved nested using
Summary: Uresolved nested using
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 14:35 UTC by nnnnnk
Modified: 2014-11-21 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;