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 243524 - inaccuracy tests (clang): lambda and throw
Summary: inaccuracy tests (clang): lambda and throw
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P2 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-03 13:43 UTC by soldatov
Modified: 2014-04-24 02:09 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 2014-04-03 13:43:56 UTC
File: CXX/expr/expr.prim/expr.prim.lambda/p5.cpp
Errors:
Expected error: CXX/expr/expr.prim/expr.prim.lambda/p5.cpp 8 Unable to resolve identifier noreturn.
CXX/expr/expr.prim/expr.prim.lambda/p5.cpp 52 unexpected token: throw
CXX/expr/expr.prim/expr.prim.lambda/p5.cpp 57 unexpected token: throw
CXX/expr/expr.prim/expr.prim.lambda/p5.cpp 58 unexpected token: {
CXX/expr/expr.prim/expr.prim.lambda/p5.cpp 59 unexpected token: {

Code:

void test_exception_spec() {
  auto tl1 = []() throw(int) {};
  auto tl2 = []() {};
  auto ntl1 = []() throw() {};
  auto ntl2 = []() noexcept(true) {};
  auto ntl3 = []() noexcept {};
}
Comment 1 petrk 2014-04-14 14:36:27 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/496ce6540e46
Comment 2 Quality Engineering 2014-04-18 02:43:08 UTC
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/496ce6540e46
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #243524 - inaccuracy tests (clang): lambda and throw
Comment 3 soldatov 2014-04-22 07:37:17 UTC
verified
no errors in latest test report
Comment 4 Quality Engineering 2014-04-24 02:09:11 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/30cb9611ae77
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #243524 - inaccuracy tests (clang): lambda and throw
(transplanted from 496ce6540e46ff4ff8845feeeef2ceb08fa9a50e)