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