feat: move corpus to library

This commit is contained in:
alexm committed 2026-10-06 09:57:04 -04:00
1 parent df12b2a008
commit 9d351b4a0f
1301 files changed
+941859 -4

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
struct CommandQueue(Copyable, Movable):
var depth: Int
def __init__(out self, depth: Int):
self.depth = depth
def borrow_depth(ref self) -> ref [self] Int:
return self.depth
def main():
var q = CommandQueue(4)
ref d = q.borrow_depth()
d = 10
print("queue depth:", q.depth)