Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
return1.C
blob: 42a7e47a2c41e1fef94c2fe5eb32e9b15df96784 [
file
] [
log
] [
blame
]
// Build don't link:
// Special g++ Option:
// Origin: holmen@mail.nu
struct
C
{
int
f
()
{
return
0
;}
};
struct
D
{
C a
[
1
];
C
*
g
();
};
C
*
D
::
g
()
{
int
i
=
0
;
while
(
i
<
1
&&
a
[
i
].
f
()
!=
1
)
{}
return
undefined_variable
;
// ERROR -
}