solidity/test/libsolidity/syntaxTests/specialFunctions/abidecode/abi_decode_member_acess.sol
2023-07-18 12:58:11 +02:00

20 lines
350 B
Solidity

library L {
struct S { int a; }
enum State { idle, running, blocked }
}
contract D {
struct X { uint b; }
enum Color { red, green, blue }
}
contract C {
function f() pure public {
abi.decode("", (L.S));
abi.decode("", (L.State));
abi.decode("", (D.X));
abi.decode("", (D.Color));
}
}
// ----