repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for33.C
blob
206f36e481ebed595a5acc0274cda6d9cf09d680
1
// PR c++/77284
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct A
7
{
8
~A () {}
9
};
10
11
void foo (A & v)
12
{
13
for (A a : { v }) {};
14
}