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
Merged revision 156805 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-warn2.C
blob
ce5e7c4503a57c6090ad076045c6d9cad4f1cc3e
1
// PR c++/42370
2
// { dg-options "-std=c++0x -Wall" }
3
4
void foo()
5
{
6
[]{ return 0; }();
7
} // { dg-bogus "no return statement" }