1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// { 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; }