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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-err1.C
blob
932ff1bee9265d4f425928d1799cfa5826c8f50d
1
// PR c++/51415
2
// { dg-do compile { target c++11 } }
3
4
void foo()
5
{
6
int x[1];
7
[x]{} = 0; // { dg-error "lambda" }
8
}