solidity/test/libsolidity/syntaxTests/license/license_in_contract.sol
2021-01-18 16:17:06 +01:00

6 lines
366 B
Solidity

contract C {
// SPDX-License-Identifier: GPL-3.0
}
// ----
// Warning 1878: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.