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 217795

Summary: Parser fails on valid C function declaration
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2012-09-04 10:53:33 UTC
valid C function declaration:

struct ST {int a;} f1() {
    struct ST st;
    st.a = 2;
    return st;
}

int main(void) {
    f1();
    return (0);
}