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 255543 - inaccuracy tests: unexpected tokens '{' at last line
Summary: inaccuracy tests: unexpected tokens '{' at last line
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 12:46 UTC by soldatov
Modified: 2016-07-21 14:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (22.51 KB, image/png)
2015-09-24 12:46 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2015-09-24 12:46:15 UTC
Created attachment 156409 [details]
screenshot

C++11 code:
=========================================
template <int T1, int T2 = decltype(T1){1}>
struct A {
    int foo();
};

int main() {
    return 0;
}


=========================================

If I open this file in old NetBeans or Oracle Solaris Studio I see error at first line only. In current NetBeans builds I see error at last line also. Therefore I see small regression in tests (11 new unexpected tokens).
Comment 1 Vladimir Kvashin 2015-09-25 22:46:45 UTC
Is it a regression and P2?
Comment 2 soldatov 2015-09-28 08:42:20 UTC
From 2015-07-21 test fails, because:
Expected: 168 errors, Real: 176
Comment 3 petrk 2016-07-21 14:04:50 UTC
Looks like it already was fixed and works in development version