solidity/test/libsolidity/syntaxTests/empty_struct.sol

6 lines
107 B
Solidity
Raw Normal View History

2018-03-27 13:38:28 +00:00
contract test {
struct A {}
}
// ----
// SyntaxError 5306: (17-28): Defining empty structs is disallowed.