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 { void foo(); }; auto myfun() { static AAA var; if (true) { return (AAA*)0; } else { return &var; } } int main() { myfun()->foo(); // foo is unresolved return 0; }
Fixed as part of bug 268671 https://enum.ru.oracle.com/hg/release82/rev/42293be356a3
Verified in internal NetBeans 8,2 patch 1 build.