solidity/test/libsolidity/syntaxTests/empty_struct.sol
2022-04-01 23:41:18 -05:00

6 lines
121 B
Solidity

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