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 243523 - inaccuracy tests (clang): C++11 ref-qualifiers as a arguments
Summary: inaccuracy tests (clang): C++11 ref-qualifiers as a arguments
Status: RESOLVED DUPLICATE of bug 243527
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:31 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 13:31:30 UTC
File: CXX/expr/expr.mptr.oper/p6-0x.cpp
Errors:
CXX/expr/expr.mptr.oper/p6-0x.cpp 18 unexpected token: ;
CXX/expr/expr.mptr.oper/p6-0x.cpp 19 unexpected token: (
CXX/expr/expr.mptr.oper/p6-0x.cpp 20 unexpected token: (
CXX/expr/expr.mptr.oper/p6-0x.cpp 21 unexpected token: (
CXX/expr/expr.mptr.oper/p6-0x.cpp 24 unexpected token: (
Expected error: CXX/expr/expr.mptr.oper/p6-0x.cpp 25 unexpected token: (
Expected error: CXX/expr/expr.mptr.oper/p6-0x.cpp 26 unexpected token: (
expr/expr.mptr.oper/p6-0x.cpp 27 unexpected token: (
Expected error: CXX/expr/expr.mptr.oper/p6-0x.cpp 30 unexpected token: (
CXX/expr/expr.mptr.oper/p6-0x.cpp 31 unexpected token: (
CXX/expr/expr.mptr.oper/p6-0x.cpp 32 unexpected token: (
Expected error: CXX/expr/expr.mptr.oper/p6-0x.cpp 33 unexpected token: (

Code:
struct X { };

template<typename T> T& lvalue();

void test(X *xp, int (X::*pmf)(int), int (X::*l_pmf)(int) &, 
          int (X::*r_pmf)(int) &&) {
  // No ref-qualifier.
  (lvalue<X>().*pmf)(17);
}
Comment 1 petrk 2014-04-14 13:23:18 UTC

*** This bug has been marked as a duplicate of bug 243527 ***
Comment 2 Quality Engineering 2014-04-18 02:42:44 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/9b462dbb6f9e
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Test case for #243523 - inaccuracy tests (clang): C++11 ref-qualifiers as a arguments
Comment 3 Quality Engineering 2014-04-24 02:08:48 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/de24e7cac7aa
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Test case for #243523 - inaccuracy tests (clang): C++11 ref-qualifiers as a arguments
(transplanted from 9b462dbb6f9eda64e25ced1c905dc4ff51802823)