nonnullparamchecker-crash.cpp 244 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 // RUN: %clang_analyze_cc1 -analyzer-checker=core -std=c++11 -verify %s class C {}; // expected-no-diagnostics void f(C i) { auto lambda = [&] { f(i); }; typedef decltype(lambda) T; T* blah = new T(lambda); (*blah)(); delete blah; }