Draft specification, RFCs, reference registries and examples, plus the reference-implementation skeleton: build.zig, diagnostic envelope with error-code registry synced to docs, aji CLI, conformance runner with seed tests, CI and contributor docs.
12 lines
210 B
LLVM
12 lines
210 B
LLVM
; %p is moved into %q and then used again.
|
|
; expect: reject E2001
|
|
; phase: 1
|
|
; spec: docs/spec/03-memory-model.md
|
|
fn @f(%p: Own<u64>) -> Own<u64>
|
|
effects []
|
|
|
|
entry:
|
|
%q = move %p
|
|
%r = move %p
|
|
ret %r
|