Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,11 @@
|
||||
struct Offset(Copyable, Movable):
|
||||
var v: Int
|
||||
|
||||
def __init__(out self, v: Int):
|
||||
self.v = v
|
||||
|
||||
|
||||
def main():
|
||||
var o = Offset(5)
|
||||
var n = -o
|
||||
print("neg:", n.v)
|
||||
Reference in new issue
Block a user