URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [for2.C] - Rev 705
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 24 Jul 2000 <nathan@codesourcery.com>
// Bug 306
// binding a reference in for scope creates nameless objects. Make sure
// we don't try and inject them into scope, for ARM compatibility.
void foo ()
{
for (const int &thing = 0;;)
;
}
Go to most recent revision | Compare with Previous | Blame | View Log