URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [typeid1.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "" }
// Origin: sk@gluit.de
#include <typeinfo>
int main ()
{
typeid(char*);
int len = 1;
char carr[len];
typeid(typeof(carr)); // { dg-error "" } type has variable size
typeid(carr); // { dg-error "" } type has variable size
}
Go to most recent revision | Compare with Previous | Blame | View Log