URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [cv1.C] - Rev 816
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;
}