solidity/test/libsolidity/syntaxTests/inlineAssembly/hex_expression.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
172 B
Solidity

contract C {
function f() public pure {
assembly {
pop(hex"2233")
}
}
}
// ----
// ParserError 3772: (67-76): Hex literals are not valid in this context.