solidity/test/libsolidity/syntaxTests/empty_struct_050.sol

7 lines
123 B
Solidity
Raw Normal View History

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