solidity/test/libsolidity/syntaxTests/empty_struct_050.sol
2018-03-27 15:49:41 +01:00

7 lines
123 B
Solidity

pragma experimental "v0.5.0";
contract test {
struct A {}
}
// ----
// SyntaxError: Defining empty structs is disallowed.