mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Still allow empty structs for non-0.5.0 mode
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
pragma experimental "v0.5.0";
|
||||
contract test {
|
||||
struct A {}
|
||||
}
|
||||
// ----
|
||||
// SyntaxError: Defining empty structs is disallowed.
|
||||
Reference in New Issue
Block a user