Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for33.C
blob: 206f36e481ebed595a5acc0274cda6d9cf09d680 [
file
] [
log
] [
blame
]
// PR c++/77284
// { dg-do compile { target c++11 } }
#include
<initializer_list>
struct
A
{
~
A
()
{}
};
void
foo
(
A
&
v
)
{
for
(
A a
:
{
v
})
{};
}