Baseline: tree as shared
This commit is contained in:
1679 files changed
+1024562
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# probe: deprecated in 0.26.2: is @register_passable("trivial") an error or a warning in 1.1.0?
|
||||
@register_passable("trivial")
|
||||
struct P:
|
||||
var v: Int
|
||||
|
||||
def __init__(out self, v: Int):
|
||||
self.v = v
|
||||
|
||||
|
||||
def main():
|
||||
print(P(1).v)
|
||||
Reference in new issue
Block a user