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.
File: CXX/temp/temp.decls/temp.mem/p5.cpp Errors: CXX/temp/temp.decls/temp.mem/p5.cpp 7 unexpected token: A CXX/temp/temp.decls/temp.mem/p5.cpp 8 unexpected token: A CXX/temp/temp.decls/temp.mem/p5.cpp 71 unexpected token: X0 CXX/temp/temp.decls/temp.mem/p5.cpp 72 unexpected token: X0 Code: struct A { template <class T> operator T*(); }; template <class T> A::operator T*() { return 0; } template <> A::operator char*(){ return 0; } // specialization template A::operator void*(); // explicit instantiation int main() { A a; int *ip; ip = a.operator int*(); }
Fixed in http://hg.netbeans.org/cnd-main/rev/7c825998be3a
Integrated into 'main-silver', will be available in build *201404110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7c825998be3a User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243546 - inaccuracy tests (clang): template, operator and specialization
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/b3a6413f3621 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #243546 - inaccuracy tests (clang): template, operator and specialization (transplanted from 7c825998be3ab729d3dc6638ff184aab697dbe19)