mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tests.
This commit is contained in:
parent
c1c4b4951c
commit
5b9da8418d
@ -1,7 +1,7 @@
|
||||
contract C {
|
||||
function f() public pure returns (bytes memory) {
|
||||
return abi.encodePacked(
|
||||
1.23,
|
||||
ufixed16x3(1.23),
|
||||
fixed64x4(-1.234)
|
||||
);
|
||||
}
|
||||
@ -15,5 +15,5 @@ contract C {
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() ->
|
||||
// g() ->
|
||||
// f() -> 0x20, 10, 0x4ceffffffffffffcfcc00000000000000000000000000000000000000000000
|
||||
// g() -> 0x20, 0x40, 0x7b, -12340
|
||||
|
Loading…
Reference in New Issue
Block a user