repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr83634.C
blob
70a396eb42177b58ec406539aaa7aafa89f8976a
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
}