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 224030 - constexpr breaks parser (unexpected tokens)
Summary: constexpr breaks parser (unexpected tokens)
Status: RESOLVED DUPLICATE of bug 243510
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 11:59 UTC by soldatov
Modified: 2014-08-13 13:32 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 11:59:46 UTC
from Clang test suite. 'friend' is unexpected token.

#include <iostream>
using namespace std;
constexpr enum E3 { V3 } e3 = V3;
enum E4 { V4 } constexpr e4 = V4;

int main() {
    cout << e3 << endl;
    cout << e4 << endl;
    return 0;
}
Comment 1 petrk 2014-08-13 13:32:22 UTC

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