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
libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for38.C
blob
39845b937c13db49a14b548779ceeaeaaccc123b
1
// PR c++/106230
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
A();
6
operator int();
7
};
8
template <int N> struct array {
9
A elts[N];
10
A *begin();
11
A *end();
12
};
13
void fn() {
14
for (int i : array<4>{})
15
;
16
}