Sign in
cobalt
/
cobalt
/
37ef7f8c0c60f95c9821b4d9f3273c9ef3666a79
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CXX
/
expr
/
expr.prim
/
expr.prim.lambda
/
p21.cpp
blob: bc2c9997379a6b158a785e3a5ff14b9ddcc0732f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
// expected-no-diagnostics
struct
DirectInitOnly
{
explicit
DirectInitOnly
(
DirectInitOnly
&);
};
void
direct_init_capture
(
DirectInitOnly
&
dio
)
{
[
dio
]
{}();
}