mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallow empty structs
This commit is contained in:
@@ -7279,7 +7279,7 @@ BOOST_AUTO_TEST_CASE(modifiers_access_storage_pointer)
|
||||
{
|
||||
char const* text = R"(
|
||||
contract C {
|
||||
struct S { }
|
||||
struct S { uint a; }
|
||||
modifier m(S storage x) {
|
||||
x;
|
||||
_;
|
||||
|
||||
Reference in New Issue
Block a user