Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
array1.C
blob: aff960e5742a6c1776620e475d458b924abe1cb3 [
file
] [
log
] [
blame
]
// 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
;
}