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
/
p21.cpp
blob
bc2c9997379a6b158a785e3a5ff14b9ddcc0732f
1
// RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
2
// expected-no-diagnostics
3
4
struct
DirectInitOnly
{
5
explicit
DirectInitOnly
(
DirectInitOnly
&);
6
};
7
8
void
direct_init_capture
(
DirectInitOnly
&
dio
) {
9
[
dio
] {}();
10
}