solidity/test/libyul/objectCompiler/long_object_name.yul
Daniel Kirchner fd36ec3dca Test updates.
2021-07-06 19:05:36 +02:00

28 lines
658 B
Plaintext

object "t" {
code {
sstore(0, datasize("name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes"))
}
object "name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes" {
code {}
}
}
// ====
// optimizationPreset: full
// ----
// Assembly:
// /* "source":33:146 */
// dataSize(sub_0)
// /* "source":30:31 */
// 0x00
// /* "source":23:147 */
// sstore
// stop
// stop
//
// sub_0: assembly {
// stop
// }
// Bytecode: 600160005500fe
// Opcodes: PUSH1 0x1 PUSH1 0x0 SSTORE STOP INVALID
// SourceMappings: 33:113:0:-:0;30:1;23:124;