solidity/test/libsolidity/syntaxTests/empty_struct_050.sol

7 lines
132 B
Solidity
Raw Normal View History

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