This commit is contained in:
commit
568474d52f
1591 files changed
+528213
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