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

+18
View File
@@ -0,0 +1,18 @@
struct FrameCounter(Copyable, Movable):
var count: Int
def __init__(out self, count: Int):
self.count = count
def increment(self):
self.count += 1
def get(self) -> Int:
return self.count
def main():
var counter = FrameCounter(0)
counter.increment()
counter.increment()
print("Frames handled:", counter.get())