http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48396
Summary: Undeclared library types accepted in namespace std Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: paolo.carl...@oracle.com This sort of code - note, no includes - is wrongly accepted: namespace std { type_info* fun1(); void fun2(type_info); }