Debian Codegraph @

clang/test/SemaCXX/invalid-this-in-lambda.cpp

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2
3 decltype([]()->decltype(this) { }) a; // expected-error {{invalid use of 'this' outside of a non-static member function}}
4