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.
struct AAA { int foo(); }; struct BBB : AAA { int boo(); }; decltype(auto) var1 = AAA(); decltype(auto) func() { return BBB(); } int main() { var1.foo(); func().foo(); func().boo(); decltype(auto) var2 = BBB(); var2.boo(); return 0; }
Fixed as part of bug 268671: https://enum.ru.oracle.com/hg/release82/rev/b44c9094893c
Verified in internal NetBeans 8,2 patch 1 build.