tests: audit feature-header context and rejection boundaries
This commit is contained in:
1 parent
fe63ae9586
commit
03305f0957
13 files changed
+326
-10
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// expect: reject E0006
|
||||
// phase: 6
|
||||
// spec: docs/spec/04-concurrency-and-atomics.md §33.1; docs/spec/15-source-language.md §10
|
||||
// AIR twin: phase3/reject/tasks_handle_as_parameter.air
|
||||
module test.p
|
||||
|
||||
fn f(t: task<u8>) -> void effects [] { // diagnostic here
|
||||
trap;
|
||||
}
|
||||
|
||||
fn main() -> void effects [] {}
|
||||
Reference in new issue
Block a user