14 lines
309 B
LLVM
14 lines
309 B
LLVM
; Nested owners require the published linear_aggregates feature, absent here.
|
|
; expect: reject E0006
|
|
; phase: 2
|
|
; spec: docs/spec/03-memory-model.md
|
|
module test.own_nested
|
|
air 0
|
|
lang 0.1
|
|
features [capabilities, effects, heap, ownership, resources]
|
|
|
|
fn @f(%o: own<own<u64>>) -> void
|
|
effects []
|
|
entry:
|
|
trap
|