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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
forscope2.C
blob
882f102a7f206713b46d5a31e9a4b7324231e1a4
1
// { dg-do compile }
2
3
struct S {
4
void foo() {
5
for (_ptr; ;) {} // { dg-error "not declared" }
6
_ptr = 0;
7
}
8
};
9
10
// It's OK to error or not on line 6.
11
// { dg-prune-output ":6:" }