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