mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add pragma to stdlib itself.
This commit is contained in:
parent
dc992ae767
commit
b46ed6b335
@ -1,5 +1,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
pragma stdlib;
|
||||
|
||||
function sha256(bytes memory input) returns (bytes32 ret) {
|
||||
assembly {
|
||||
let success := staticcall(gas(), 2, add(input, 32), mload(input), 0, 32)
|
||||
|
Loading…
Reference in New Issue
Block a user