p21.cpp 219 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 // 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] {}(); }