Sign in
gnu
/
gcc
/
5e9c4ed903c39f82f28362d9411d4dbc491264ec
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr83634.C
blob: 70a396eb42177b58ec406539aaa7aafa89f8976a [
file
] [
log
] [
blame
]
// PR c++/83634
// { dg-do compile }
void
foo
()
{
const
int
x
=
fn
();
// { dg-error "was not declared in this scope" }
short
n
;
for
(
n
=
x
;
n
<
100
;
++
n
)
;
}