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.
Summary: | inaccuracy tests (clang): 'using typename' in namespace | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Code Model | Assignee: | petrk |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2014-04-03 10:18:40 UTC
File: CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp Errors: CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp 168 unexpected token: using CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp 169 unexpected token: using Expected error: CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp 171 unexpected token: using Expected error: CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp 172 unexpected token: using namespace test3 { struct hiding {}; template <class T> struct A { typedef int type; // expected-note {{target of using declaration}} struct hiding {}; union { double union_member; }; // expected-note {{target of using declaration}} enum tagname { enumerator }; // expected-note 2 {{target of using declaration}} }; template <class T> struct C : A<T> { using typename A<T>::type; using typename A<T>::union_member; // expected-error {{'typename' keyword used on a non-type}} using typename A<T>::enumerator; // expected-error {{'typename' keyword used on a non-type}} }; } Fixed in hg.netbeans.org/cnd-main/rev/cf72643a3a92 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/cf72643a3a92 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243508 - inaccuracy tests (clang): 'using typename' in namespace verified no errors in latest test report 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/15347a26b13c User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243508 - inaccuracy tests (clang): 'using typename' in namespace (transplanted from cf72643a3a9264457ecac0e5e59e42d116c98eae) |