mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
* feat(compilers): Solidity support MVP * don't concat userOptions in optionsForFilter * fixes after review * Update etc/config/solidity.defaults.properties Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es> Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
9 lines
180 B
Solidity
9 lines
180 B
Solidity
// SPDX-License-Identifier: UNLICENSED
|
|
pragma solidity >=0.4.0;
|
|
|
|
contract Square {
|
|
function square(uint32 num) public pure returns (uint32) {
|
|
return num * num;
|
|
}
|
|
}
|