Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
})
{};
}