fork download
  1. int main()
  2. {
  3. auto make_closure = [](int a,int b)
  4. {
  5. return [=]{ return a+b; };
  6. };
  7. return make_closure(1, 2)() != 3;
  8. }
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty