mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-28 03:42:55 +00:00
10 lines
180 B
C++
10 lines
180 B
C++
#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);
|
|
}
|