[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CXX / expr / expr.prim / expr.prim.lambda / p2-template-parameter.cpp
blobf120a63badcbec1a47909ef1ce4310933fbd774c
1 // RUN: %clang_cc1 -std=c++17 %s -verify
3 template<auto> struct Nothing {};
5 void pr33696() {
6 Nothing<[]() { return 0; }()> nothing; // expected-error{{a lambda expression cannot appear in this context}}