Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
safecode
/
tools
/
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
]
{}();
}