Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Parser / cxx03-lambda-extension.cpp
blob82ae7da305305cf237ba52a7babfe2f219bbc40d
1 // RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify -std=c++03 %s
3 void func() {
4 []() {}; // expected-warning {{lambdas are a C++11 extension}}