1 // Test typeid of multidimensional array with no bounds. 2 // { dg-do compile } 3 4 #include <typeinfo> 5 main()6 int main() 7 { 8 const char *s = typeid(double[][]).name(); // { dg-error "bounds|confused" } 9 return 0; 10 } 11