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 243550 - inaccuracy tests (clang): variadic template and auto
Summary: inaccuracy tests (clang): variadic template and 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-04 09:19 UTC by soldatov
Modified: 2014-04-24 02:06 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-04 09:19:06 UTC
File: CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp
Errors:
CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp 243 unexpected token: auto

Code:
template<typename>
struct s {
    template<typename... Args>
    auto f() -> int(&)[sizeof...(Args)] {}
};

int main() {
    int (&ir1)[1] = s<int>().f<int>();
    int (&ir3)[3] = s<int>().f<int, float, double>();
    return 0;
}
Comment 1 petrk 2014-04-08 15:31:07 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/d5423184df07
Comment 2 Quality Engineering 2014-04-09 02:32:40 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 3 soldatov 2014-04-22 07:45:30 UTC
verified
no errors in latest test report
Comment 4 Quality Engineering 2014-04-24 02:06:19 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)