Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
// 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] {}(); }