mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #2809 from sc0Vu/master
[solidity/en] Add version pragma
This commit is contained in:
commit
1058ecc7d4
@ -37,6 +37,9 @@ features are typically marked, and subject to change. Pull requests welcome.
|
||||
// simple_bank.sol (note .sol extension)
|
||||
/* **** START EXAMPLE **** */
|
||||
|
||||
// Declare the source file compiler version.
|
||||
pragma solidity ^0.4.2;
|
||||
|
||||
// Start with Natspec comment (the three slashes)
|
||||
// used for documentation - and as descriptive data for UI elements/actions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user