aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/std-function-recognizer/main.cpp
blob: 8cf4eaa2e51929a6bbaf236de94e664b797fb41d (plain)
1
2
3
4
5
6
7
8
9
10
#include <functional>

int foo(int x, int y) {
  return x * y; // break here
}

int main(int argc, char *argv[]) {
  std::function<int(int, int)> fn = foo;
  return fn(argc, 1);
}