Douglas Gregor | 1b66d8c | 2012-02-14 00:03:38 +0000 | [diff] [blame] | 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 | } |