aboutsummaryrefslogtreecommitdiffstats
path: root/docs/assembly.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-11 05:58:23 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-13 23:10:37 +0800
commitb2fcd59ee6941de4a392b89295c734385d6019e3 (patch)
tree7f40372a2d95ec35ed707bdd63958bb9e68b97ee /docs/assembly.rst
parent9a5aac599e0003009fd0ba1794c6a02d97b3d026 (diff)
downloaddexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar
dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.gz
dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.bz2
dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.lz
dexon-solidity-b2fcd59ee6941de4a392b89295c734385d6019e3.tar.xz
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.rst2
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;