mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
534 B
Solidity
17 lines
534 B
Solidity
// SPDX-License-Identifier: GPL-3.0
|
|
pragma solidity >=0.0;
|
|
|
|
contract C {
|
|
function f() returns (bytes1 _b, bytes2 _b2, bytes3 _b3, bytes memory _blit, bytes5 _b5, bytes6 _b6, string memory _str, bytes7 _b7, bytes22 _b22, bytes32 _b32) {
|
|
_b = 0x12;
|
|
_b2 = 0x1223;
|
|
_b5 = hex"043245";
|
|
_b6 = hex"2345532532";
|
|
_b7 = hex"03252353253253";
|
|
_b22 = hex"325235235325325325235325";
|
|
_b32 = hex"032523532532523532523532523532";
|
|
_blit = hex"123498";
|
|
_str = "heidy";
|
|
}
|
|
}
|