1 // Build don't link: 2 3 // Copyright (C) 2000 Free Software Foundation, Inc. 4 // Contributed by Nathan Sidwell 24 Jul 2000 <nathan@codesourcery.com> 5 6 // Bug 306 7 // binding a reference in for scope creates nameless objects. Make sure 8 // we don't try and inject them into scope, for ARM compatibility. 9 foo()10void foo () 11 { 12 for (const int &thing = 0;;) 13 ; 14 } 15