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

6 lines
489 B
Solidity

import "// SPDX-License-Identifier: GPL-3.0";
contract C {}
// ----
// 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.
// ParserError 6275: (0-45): Source "// SPDX-License-Identifier: GPL-3.0" not found: File not supplied initially.