This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29928] New: typeid of unknown bound array
- From: "s__nakayama at infoseek dot jp" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Nov 2006 16:06:14 -0000
- Subject: [Bug c++/29928] New: typeid of unknown bound array
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
g++ rejects following IMHO valid code.
int main()
{
const std::type_info& info = typeid(int []);
return 0;
}
--
Summary: typeid of unknown bound array
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: s__nakayama at infoseek dot jp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29928