mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
27 lines
631 B
Plaintext
27 lines
631 B
Plaintext
object "a" {
|
|
code {}
|
|
// Unreferenced data is not added to the assembled bytecode.
|
|
data "str" "Hello, World!"
|
|
object "sub" { code { sstore(0, 1) } }
|
|
}
|
|
// ----
|
|
// Assembly:
|
|
// /* "source":20:22 */
|
|
// stop
|
|
// stop
|
|
// data_acaf3289d7b601cbd114fb36c4d29c85bbfd5e133f14cb355c3fd8d99367964f 48656c6c6f2c20576f726c6421
|
|
//
|
|
// sub_0: assembly {
|
|
// /* "source":149:150 */
|
|
// 0x01
|
|
// /* "source":146:147 */
|
|
// 0x00
|
|
// /* "source":139:151 */
|
|
// sstore
|
|
// /* "source":137:153 */
|
|
// stop
|
|
// }
|
|
// Bytecode: 00fe
|
|
// Opcodes: STOP INVALID
|
|
// SourceMappings: 20:2:0:-:0
|