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 257958

Summary: Unnamed struct inside sizeof() and _Alignof()
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2016-02-12 10:00:26 UTC
Set Build|C Compiler|C Standard = C11

C Code:
int main() {
    int a4 = _Alignof(struct { char c; int n;}); // unresolved c and n
    int a5 = sizeof(struct { char c; int n;}); // unresolved c and n
    return (0);
}