mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add version pragma to docs examples
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user