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 243528 - inaccuracy tests (clang): constructor in template
Summary: inaccuracy tests (clang): constructor in template
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 14:43 UTC by soldatov
Modified: 2014-04-24 02:08 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 14:43:26 UTC
File: CXX/special/class.ctor/p1.cpp

Errors:
CXX/special/class.ctor/p1.cpp 40 unexpected token: (

Code:
template<typename T>
struct X1 {
  struct type { };

  X1<T>();
  X1<T>(int);
  (X1<T>)(float);
  (X1)(double);

  template<typename U> X1(U);
};

template<typename T> X1<T>::X1() { }
template<typename T> (X1<T>::X1)(double) { }

int main() {
    X1<double> x;
    return 0;
}
Comment 2 Quality Engineering 2014-04-18 02:42:35 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/4cacf9c1ddbf
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #243528 - inaccuracy tests (clang): constructor in template
Comment 3 soldatov 2014-04-22 07:40:25 UTC
verified
no errors in latest test report
Comment 4 Quality Engineering 2014-04-24 02:08:40 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/c6c0ad2562c9
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #243528 - inaccuracy tests (clang): constructor in template
(transplanted from 4cacf9c1ddbf272ec6adf2da55a2a7cb78b0a2c8)