1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify 2 3 struct DirectInitOnly { 4 explicit DirectInitOnly(DirectInitOnly&); 5 }; 6 7 void direct_init_capture(DirectInitOnly &dio) { 8 [dio] {}(); 9 } 10