OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.bugs/] [900519_07.C] - Diff between revs 305 and 338

Only display areas with differences | Details | Blame | View Log

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
// g++ 1.37.1 bug 900519_07
// g++ 1.37.1 bug 900519_07
// It is illegal to specify or to use array-of-reference types, yet g++
// It is illegal to specify or to use array-of-reference types, yet g++
// allows them to be specified (in typedef statements and in declarations)
// allows them to be specified (in typedef statements and in declarations)
// and to be used (in declarations).
// and to be used (in declarations).
// keywords: reference types, array types
// keywords: reference types, array types
int i;
int i;
int j;
int j;
typedef int& int_ref;
typedef int& int_ref;
typedef int_ref int_ref_array_type[2];          // { dg-error "" } missed
typedef int_ref int_ref_array_type[2];          // { dg-error "" } missed
int& int_ref_array_obj0[2] = { i, j };            // { dg-error "" } missed
int& int_ref_array_obj0[2] = { i, j };            // { dg-error "" } missed
int_ref int_ref_array_obj1[2] = { i, j };       // { dg-error "" } missed
int_ref int_ref_array_obj1[2] = { i, j };       // { dg-error "" } missed
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.