Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
)
;
}