solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/172_assignment_to_const_string_bytes.sol

6 lines
123 B
Solidity
Raw Normal View History

contract C {
bytes constant a = "\x00\x01\x02";
bytes constant b = hex"000102";
string constant c = "hello";
}