solidity/test/libyul/objectCompiler/long_object_name.yul
Daniel Kirchner 1a0605c594 Update tests.
2021-11-03 12:39:55 +01:00

30 lines
731 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
// /* "source":19:150 */
// stop
// stop
//
// sub_0: assembly {
// /* "source":272:274 */
// stop
// }
// Bytecode: 600160005500fe
// Opcodes: PUSH1 0x1 PUSH1 0x0 SSTORE STOP INVALID
// SourceMappings: 33:113:0:-:0;30:1;23:124;19:131