Commit 6d18260
committed
Add test for non-concurrency async-main
This patch adds a quick test to verify that we emit a reasonable error
message when trying to use async-main without enabling concurrency or
parsing as stdlib instead of crashing.
Under both circumstances, the _Concurrency library won't be implicitly
imported.1 parent 638a5b6 commit 6d18260
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments