diff options
author | chriseth <chris@ethereum.org> | 2018-12-06 23:47:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 23:47:18 +0800 |
commit | e1e578d71e22577dc7313214143b81aa24f5ebab (patch) | |
tree | b008fb966c8371a47d6610aa4c40ac8afe87ff19 /test/libyul/objectCompiler/data.yul | |
parent | 0e8841005ca7bf93545a1bc76bd8fa0ed67cb32d (diff) | |
parent | b7cfa499b0bd674b59284821e33349726cbc4299 (diff) | |
download | dexon-solidity-e1e578d71e22577dc7313214143b81aa24f5ebab.tar.gz dexon-solidity-e1e578d71e22577dc7313214143b81aa24f5ebab.tar.zst dexon-solidity-e1e578d71e22577dc7313214143b81aa24f5ebab.zip |
Merge pull request #5589 from ethereum/yulObjectCodegen
Yul object codegen
Diffstat (limited to 'test/libyul/objectCompiler/data.yul')
-rw-r--r-- | test/libyul/objectCompiler/data.yul | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/libyul/objectCompiler/data.yul b/test/libyul/objectCompiler/data.yul new file mode 100644 index 00000000..daa22d21 --- /dev/null +++ b/test/libyul/objectCompiler/data.yul @@ -0,0 +1,11 @@ +object "a" { + code {} + // Unreferenced data is not added to the assembled bytecode. + data "str" "Hello, World!" +} +// ---- +// Assembly: +// stop +// data_acaf3289d7b601cbd114fb36c4d29c85bbfd5e133f14cb355c3fd8d99367964f 48656c6c6f2c20576f726c6421 +// Bytecode: fe +// Opcodes: INVALID |