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