Debian Codegraph @

gcc/testsuite/g++.dg/other/array1.C

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