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-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
CXX
/
expr
/
expr.prim
/
expr.prim.lambda
/
p2-template-parameter.cpp
blob
f120a63badcbec1a47909ef1ce4310933fbd774c
1
// RUN: %clang_cc1 -std=c++17 %s -verify
2
3
template
<
auto
>
struct
Nothing
{};
4
5
void
pr33696
() {
6
Nothing
<[]() {
return
0
; }()>
nothing
;
// expected-error{{a lambda expression cannot appear in this context}}
7
}