☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
other
/
array1.C
☽
☼
gcc/testsuite/g++.dg/other/array1.C
code
plain
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
}