URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [cv1.C] - Rev 315
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