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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [init/] [for2.C] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
// { dg-do compile }
// { dg-do compile }
// PR 16012: Got the scope of I incorrect in templates only.
// PR 16012: Got the scope of I incorrect in templates only.
template void foo()
template void foo()
{
{
   for (int i=0 ;;) ;
   for (int i=0 ;;) ;
   int i;
   int i;
}
}
void bar()
void bar()
{
{
  foo<0>();
  foo<0>();
}
}
 
 

powered by: WebSVN 2.1.0

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