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
update
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
for2.C
1
// Build don't link:
2
3
void foo() {
4
for (class C {};;)
5
;
6
C c; // ERROR -
7
}
8
9
void bar() {
10
for (enum E {num};;)
11
;
12
E e; // ERROR -
13
}
14
15
void bee () {
16
int i = 0;
17
for (int fun() = 0; i != 2; ++i) { // ERROR -
18
}
19
}