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++/64248
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
vla12.C
blob
7fc9987367cf16eab34fa4d80d0c4a5b30d3f067
1
// PR c++/60250
2
// { dg-do compile { target c++14 } }
3
4
template<typename> void foo()
5
{
6
typedef int T[ ([](){ return 1; }()) ]; // { dg-error "runtime bound" }
7
}