URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [other/] [array1.C] - Rev 12
Compare with Previous | Blame | View Log
// 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;
}