9 lines
113 B
Mojo
9 lines
113 B
Mojo
# probe: is the @value decorator still accepted?
|
|
@value
|
|
struct V:
|
|
var x: Int
|
|
|
|
|
|
def main():
|
|
print(V(1).x)
|