repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Parser
/
cxx03-lambda-extension.cpp
blob
82ae7da305305cf237ba52a7babfe2f219bbc40d
1
// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify -std=c++03 %s
2
3
void
func
() {
4
[]() {};
// expected-warning {{lambdas are a C++11 extension}}
5
}