solidity/test/libsolidity/syntaxTests/inlineAssembly/linkersymbol_function.sol

12 lines
255 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
function linkersymbol(a) {}
linkersymbol("contract/library.sol:L")
}
}
}
// ----
2020-07-29 18:13:44 +00:00
// DeclarationError 5017: (63-90): The identifier "linkersymbol" is reserved and can not be used.