From b2fcd59ee6941de4a392b89295c734385d6019e3 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 10 Jul 2017 22:58:23 +0100 Subject: Add version pragma to docs examples --- docs/miscellaneous.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/miscellaneous.rst') diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index 182de33a..1fcdb2fc 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -48,6 +48,8 @@ non-elementary type, the positions are found by adding an offset of ``keccak256( So for the following contract snippet:: + pragma solidity ^0.4.0; + contract C { struct s { uint a; uint b; } uint x; -- cgit v1.2.3