projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for18.C
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
}