2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / rtti / cv1.C
blob59dd6592c9da7932e0ea0d7697f7bdff48195e62
1 // { dg-do run }
3 #include <typeinfo>
4 #include <string.h>
6 struct S {};
8 typedef S volatile T[4];
10 T t[3];
12 const std::type_info& ti = typeid (t);
14 int main () {
15   if (strcmp (ti.name (), "A3_A4_1S") != 0)
16     return 1;