OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [defarg12.C] - Diff between revs 149 and 154

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

Rev 149 Rev 154
/* PR28266 This used to ICE in gimple_add_tmp_var */
/* PR28266 This used to ICE in gimple_add_tmp_var */
/* { dg-do "compile" } */
/* { dg-do "compile" } */
struct A
struct A
{
{
  int i;
  int i;
  A(int = X); /* { dg-error "was not declared in this scope" }*/
  A(int = X); /* { dg-error "was not declared in this scope" }*/
};
};
void foo()
void foo()
{
{
  A().i;
  A().i;
}
}
 
 

powered by: WebSVN 2.1.0

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