common/compiler: fixed testSource (#18978)

This commit is contained in:
Javier Sagredo 2019-02-03 12:41:38 +01:00 committed by Felix Lange
parent 05d21438de
commit 98e0bedcd7

View File

@ -23,9 +23,10 @@ import (
const (
testSource = `
pragma solidity >0.0.0;
contract test {
/// @notice Will multiply ` + "`a`" + ` by 7.
function multiply(uint a) returns(uint d) {
function multiply(uint a) public returns(uint d) {
return a * 7;
}
}