Allow global struct definitions.

This commit is contained in:
Daniel Kirchner
2019-09-02 11:17:42 +02:00
parent 25a3a83b34
commit 872d21f527
8 changed files with 47 additions and 5 deletions
@@ -0,0 +1,7 @@
struct S { uint a; }
contract C {
function f() public pure {
S memory s = S(42);
s;
}
}