fork(1) download
  1. typedef int func_t(void);
  2. int api_func(int param, func_t *func) {}
  3.  
  4. int main() {
  5. auto lambda = [](){ return 42; };
  6. api_func(0, lambda);
  7. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
Standard output is empty