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
* g++.old-deja/g++.other/init5.C: Remove xfail for powerpc-linux.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
return1.C
1
// { dg-do assemble }
2
// Special g++ Option:
3
// Origin: holmen@mail.nu
4
5
struct C {
6
int f() {return 0;}
7
};
8
9
struct D {
10
C a[1];
11
C* g();
12
};
13
14
C* D::g() {
15
int i = 0;
16
while (i < 1 && a[i].f() != 1) {}
17
return undefined_variable; // { dg-error "" }
18
}