mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests for empty structs
This commit is contained in:
parent
acd6ec0d03
commit
076c0754ea
@ -9,5 +9,6 @@ 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.
|
// TypeError: This type cannot be encoded.
|
||||||
|
@ -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.
|
// TypeError: This type cannot be encoded.
|
||||||
// TypeError: This type cannot be encoded.
|
// TypeError: This type cannot be encoded.
|
||||||
|
Loading…
Reference in New Issue
Block a user