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 243514 - inaccuracy tests (clang): unexpected token 'auto'
Summary: inaccuracy tests (clang): unexpected token 'auto'
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 12:12 UTC by soldatov
Modified: 2014-04-24 02:07 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 12:12:57 UTC
File: CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp
Errors:
Expected error: CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp 6 unexpected token: ->
CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp 7 unexpected token: auto

Code:
auto e() -> auto (*)() -> auto (*)() -> void; // ok: same as void (*(*e())())();
Comment 1 soldatov 2014-04-03 12:29:30 UTC
File: CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp
Errors:
Expected error: CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp 4 unexpected token: (
Expected error: CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp 5 unexpected token: auto
CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp 6 unexpected token: auto


Code:
auto i() -> auto(*)() -> int;
Comment 2 petrk 2014-04-08 15:30:53 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/d5423184df07
Comment 3 Quality Engineering 2014-04-09 02:32:18 UTC
Integrated into 'main-silver', will be available in build *201404090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d5423184df07
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed bug #243514 - inaccuracy tests (clang): unexpected token 'auto'
Fixed bug #243550 - inaccuracy tests (clang): variadic template and auto
Comment 4 soldatov 2014-04-22 07:29:24 UTC
verified
no errors in latest test report
Comment 5 Quality Engineering 2014-04-24 02:07:32 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/773fdccb7daf
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed bug #243514 - inaccuracy tests (clang): unexpected token 'auto'
Fixed bug #243550 - inaccuracy tests (clang): variadic template and auto
(transplanted from d5423184df07b2d3319b80155aa216ae9542cade)