FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.dg / other / array1.C
blobaff960e5742a6c1776620e475d458b924abe1cb3
1 // Test typeid of multidimensional array with no bounds.
2 // { dg-do compile }
4 #include <typeinfo>
6 int main()
8         const char *s = typeid(double[][]).name(); // { dg-error "bounds|confused" }
9         return 0;