diff --git a/test_async_simple.nyash b/test_async_simple.nyash new file mode 100644 index 00000000..7bad3410 --- /dev/null +++ b/test_async_simple.nyash @@ -0,0 +1,12 @@ +// Simple async test with proper variable declarations +static box Main { + init { result } + + main() { + local f1 + nowait f1 = 42 + me.result = await f1 + print(me.result) + return me.result + } +} \ No newline at end of file