aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index dedd1ab7..7a448e8c 100644
--- a/README.md
+++ b/README.md
@@ -29,8 +29,10 @@ Instructions about how to build and install the Solidity compiler can be found i
A "Hello World" program in Solidity is of even less use than in other languages, but still:
```
+pragma solidity ^0.4.16;
+
contract HelloWorld {
- function f() pure returns (string memory) {
+ function helloWorld() external pure returns (string memory) {
return "Hello, World!";
}
}