repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for18.C
blob
be436380e6816c1104cd6053f16c1f4ad15ff21b
1
// PR c++/48994
2
3
// { dg-do compile { target c++11 } }
4
5
template <typename T>
6
struct myvec
7
{
8
T* begin() const;
9
T* end() const;
10
};
11
12
void f(const myvec<int>& v)
13
{
14
for (int i : v)
15
;
16
}