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-for32.C
blob
375a7073a4150f80129e16f6bb1035e49e67cb8b
1
// PR c++/77545
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-Wno-pedantic" }
4
5
template < typename T > struct A
6
{
7
A ();
8
~A ();
9
T t;
10
};
11
12
void f (A < int > a)
13
{
14
for (auto x : (A<int>[]) { a })
15
;
16
}