Commit e19cf66a authored by Xavier Thompson's avatar Xavier Thompson

Add test programs

parent d39b3d5a
#include <typon/core/task.hpp>
#include <typon/typon.hpp>
#include <cstdio>
......@@ -13,6 +13,8 @@ Task<int> fibo(int n) {
co_return a + b;
}
int main() {
int result = fibo(40).call();
printf("%d\n", result);
......
#include <typon/core/task.hpp>
#include <typon/task.hpp>
#include <cstdio>
......
#include <typon/core/task.hpp>
#include <typon/task.hpp>
#include <cstdio>
......
#include <typon/core/task.hpp>
#include <typon/task.hpp>
#include <cstdio>
......
#include <typon/core/task.hpp>
#include <typon/task.hpp>
#include <cstdio>
......
#include <typon/core/task.hpp>
#include <typon/task.hpp>
#include <cstdio>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment