blob: a1d3f5affd9b047229f7e8a30ceb0457b5db846f (
plain) (
tree)
|
|
contract C {
struct S { uint x; }
S s;
struct T { uint y; }
T t;
function f() public view {
bytes32 a = sha256(abi.encodePacked(s, t));
a;
}
}
// ----
// TypeError: (156-157): This type cannot be encoded.
// TypeError: (159-160): This type cannot be encoded.
|