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

Summary: alignas. Unexpected tokens.
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

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 ***