solidity/test/libsolidity/syntaxTests/inlineAssembly/hex_assignment.sol
Alex Beregszaszi 7ef9591e64 Expose hex literal to the Yul parser
This allows nicer error messages.
2020-08-28 19:34:52 +01:00

10 lines
176 B
Solidity

contract C {
function f() public pure {
assembly {
let x := hex"0011"
}
}
}
// ----
// ParserError 3772: (72-81): Hex literals are not valid in this context.