Files
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

15 lines
223 B
Mojo
Generated

struct FileHandle(Movable):
var fd: Int
def __init__(out self, fd: Int):
self.fd = fd
def take(var h: FileHandle) -> Int:
return h.fd
def main():
var h = FileHandle(3)
print("fd:", take(h))