Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
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
]
{}();
}