solidity/test/libyul/yulSyntaxTests/setimmutable_bad_literal.yul

12 lines
420 B
Plaintext
Raw Normal View History

2020-08-03 18:48:15 +00:00
{
setimmutable(0, 0x1234567890123456789012345678901234567890)
setimmutable(true, 0x1234567890123456789012345678901234567890)
setimmutable(false, 0x1234567890123456789012345678901234567890)
}
// ====
// dialect: evm
// ----
// TypeError 5859: (19-20): Function expects string literal.
// TypeError 5859: (83-87): Function expects string literal.
// TypeError 5859: (150-155): Function expects string literal.