aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/empty_struct.sol
blob: 0a52fb72967e0c66d12f87f07ad68688f804799c (plain) (blame)
1
2
3
4
5
contract test {
    struct A {}
}
// ----
// SyntaxError: (17-28): Defining empty structs is disallowed.