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 224034 - alignas. Unexpected tokens.
Summary: alignas. Unexpected tokens.
Status: RESOLVED DUPLICATE of bug 243522
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-19 12:33 UTC by soldatov
Modified: 2014-08-12 23:21 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 2012-12-19 12:33:03 UTC
Clang test suite.
GCC 4.8 and more (http://gcc.gnu.org/gcc-4.8/changes.html):

struct OK {
  constexpr OK() {}
  constexpr operator int() { return 8; }
} constexpr ok;
int alignas(ok) alignas1;

alignas(double) int i;
Comment 1 petrk 2014-08-12 23:21:17 UTC

*** This bug has been marked as a duplicate of bug 243522 ***