mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow global struct definitions.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
struct S { uint a; }
|
||||
contract C {
|
||||
function f() public pure {
|
||||
S memory s = S(42);
|
||||
s;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user