solidity/test/libsolidity/syntaxTests/empty_struct.sol

6 lines
107 B
Solidity

contract test {
struct A {}
}
// ----
// SyntaxError 5306: (17-28): Defining empty structs is disallowed.