mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
123 B
Solidity
7 lines
123 B
Solidity
|
pragma experimental "v0.5.0";
|
||
|
contract test {
|
||
|
struct A {}
|
||
|
}
|
||
|
// ----
|
||
|
// SyntaxError: Defining empty structs is disallowed.
|