diff options
Diffstat (limited to 'lldb/test/API/lang/cpp/std-function-recognizer/main.cpp')
| -rw-r--r-- | lldb/test/API/lang/cpp/std-function-recognizer/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/test/API/lang/cpp/std-function-recognizer/main.cpp b/lldb/test/API/lang/cpp/std-function-recognizer/main.cpp new file mode 100644 index 000000000000..8cf4eaa2e519 --- /dev/null +++ b/lldb/test/API/lang/cpp/std-function-recognizer/main.cpp @@ -0,0 +1,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); +} |
