repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gcn] mkoffload.cc: Print fatal error if -march has no multilib but generic has
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-diag1.C
blob
dc1043b3fb1a54b4aab5f6b491839f85b16b1286
1
// { dg-require-effective-target c++11 }
2
3
int main()
4
{
5
int x;
6
auto f = [x]{ };
7
f.__x.foo; // { dg-error "<lambda\\(\\)>::<x capture>" }
8
}