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 - Unnamed struct inside sizeof() and _Alignof()
Summary: Unnamed struct inside sizeof() and _Alignof()
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-12 10:00 UTC by soldatov
Modified: 2016-07-14 14:41 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 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);
}