solidity/test/libyul/yulSyntaxTests/setimmutable_bad_literal.yul
2022-04-01 23:41:18 -05:00

12 lines
448 B
Plaintext

{
setimmutable(0, 0, 0x1234567890123456789012345678901234567890)
setimmutable(0, true, 0x1234567890123456789012345678901234567890)
setimmutable(0, false, 0x1234567890123456789012345678901234567890)
}
// ====
// dialect: evm
// ----
// TypeError 5859: (22-23='0'): Function expects string literal.
// TypeError 5859: (89-93='true'): Function expects string literal.
// TypeError 5859: (159-164='false'): Function expects string literal.