diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-11 05:58:23 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-13 23:10:37 +0800 |
commit | b2fcd59ee6941de4a392b89295c734385d6019e3 (patch) | |
tree | 7f40372a2d95ec35ed707bdd63958bb9e68b97ee /docs/assembly.rst | |
parent | 9a5aac599e0003009fd0ba1794c6a02d97b3d026 (diff) | |
download | dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.gz dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.zst dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.zip |
Add version pragma to docs examples
Diffstat (limited to 'docs/assembly.rst')
-rw-r--r-- | docs/assembly.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst index 0a120644..37222faf 100644 --- a/docs/assembly.rst +++ b/docs/assembly.rst @@ -679,6 +679,8 @@ Example: We will follow an example compilation from Solidity to desugared assembly. We consider the runtime bytecode of the following Solidity program:: + pragma solidity ^0.4.0; + contract C { function f(uint x) returns (uint y) { y = 1; |