solidity/test/libsolidity/syntaxTests/empty_struct_050.sol
2018-04-10 14:08:22 +02:00

7 lines
132 B
Solidity

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