☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr83634.C
☽
☼
gcc/testsuite/g++.dg/parse/pr83634.C
code
plain
raw
1
// PR c++/83634
2
// { dg-do compile }
3
4
void
5
foo ()
6
{
7
const int x = fn (); // { dg-error "was not declared in this scope" }
8
short n;
9
for (n = x; n < 100; ++n)
10
;
11
}