[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CXX / expr / expr.prim / expr.prim.lambda / p21.cpp
blobbc2c9997379a6b158a785e3a5ff14b9ddcc0732f
1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
2 // expected-no-diagnostics
4 struct DirectInitOnly {
5 explicit DirectInitOnly(DirectInitOnly&);
6 };
8 void direct_init_capture(DirectInitOnly &dio) {
9 [dio] {}();