OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pizza-lize :-)
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
forscope2.C
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:" }