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.
Code example: ---------------------------------------- #include <stdlib.h> int main(int argc, char** argv) try { throw "main"; } catch(const char* msg) { return (EXIT_SUCCESS); } ---------------------------------------- Trace model: main.cc:14:29: unexpected token: try main.cc:16:1: expecting EOF, found '}' main.cc:14:29: unexpected token: try main.cc:16:1: expecting EOF, found '}' AST DUMP is empty.
Downgraded since this is extremely rare use case
*** This issue has been marked as a duplicate of 142674 ***