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