Merge pull request #3802 from ethereum/empty-structs

Update tests for empty structs
This commit is contained in:
Alex Beregszaszi 2018-03-31 00:55:47 +01:00 committed by GitHub
commit be261ed519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -9,5 +9,6 @@ contract C {
}
}
// ----
// Warning: Defining empty structs is deprecated.
// TypeError: This type cannot be encoded.
// TypeError: This type cannot be encoded.

View File

@ -9,6 +9,7 @@ contract C {
}
}
// ----
// Warning: Defining empty structs is deprecated.
// TypeError: This type cannot be encoded.
// TypeError: This type cannot be encoded.
// TypeError: This type cannot be encoded.