Files
codeql/cpp/ql/test/library-tests/lambdas/captures/captures.cpp
2018-08-02 17:53:23 +01:00

14 lines
135 B
C++

struct foo {
void a(int x) {
[x, this] {
a(x + 1);
};
}
void b(int x) {
[=] {
b(x + 1);
};
}
};