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 246679

Summary: C99: nested c99 initializer
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: petrk
Status: RESOLVED DUPLICATE    
Severity: normal CC: imjake9
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2014-08-25 15:34:37 UTC
Unable to resolve identifier a1
Unable to resolve identifier a2

C code:

typedef struct A {
    int a1;
    int a2;
} A;

typedef struct B {
    A a[10];
} B;

B b[] = {[2] = {.a[3] = {.a1 = 111, .a2 = 222}}};

int main() {
    return 0;
}
Comment 1 petrk 2015-10-27 19:51:49 UTC

*** This bug has been marked as a duplicate of bug 255328 ***
Comment 2 petrk 2015-11-11 15:58:57 UTC
*** Bug 224366 has been marked as a duplicate of this bug. ***