blob: 0ba12b46d97c7f0352d5db20b3149052474efb1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { 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;;)
;
}
|