URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [cv1.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do run }
#include <typeinfo>
#include <string.h>
struct S {};
typedef S volatile T[4];
T t[3];
const std::type_info& ti = typeid (t);
int main () {
if (strcmp (ti.name (), "A3_A4_1S") != 0)
return 1;
}
Go to most recent revision | Compare with Previous | Blame | View Log