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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
range-for28.C
blob
5007349949aa4fa72dd308ba9464b737a69784aa
1
// PR c++/59165
2
// { dg-require-effective-target c++11 }
3
4
namespace std {
5
int* begin(int i) { return (int*)0; }
6
int* end(int i) { return (int*)0; }
7
}
8
9
int main() {
10
for (int a : 10) { } // { dg-error "was not declared" }
11
}