tests: audit task argument identities and source error boundaries
This commit is contained in:
1 parent
fd92604f36
commit
2742867ef7
18 files changed
+344
-20
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// A duplicate function declaration rejects before AIR with the duplicate_declaration reason registered by spec 15 §10 in reference/error-codes.md.
|
||||
// expect: reject E7006
|
||||
// phase: 6
|
||||
// spec: docs/spec/15-source-language.md §10
|
||||
module test.source_analogue_duplicate_function
|
||||
fn f() -> void effects [] {}
|
||||
fn f() -> void effects [] {} // diagnostic here
|
||||
fn main() -> u64 effects [] { return 0u64; }
|
||||
Reference in new issue
Block a user