Add version pragma to docs examples

This commit is contained in:
Alex Beregszaszi
2017-07-13 17:10:37 +02:00
parent 9a5aac599e
commit b2fcd59ee6
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -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;