solidity/test/libsolidity/syntaxTests/inlineAssembly/linkersymbol_function.sol
2022-04-01 23:41:18 -05:00

12 lines
285 B
Solidity

contract C {
function f() public pure {
assembly {
function linkersymbol(a) {}
linkersymbol("contract/library.sol:L")
}
}
}
// ----
// DeclarationError 5017: (63-90='function linkersymbol(a) {}'): The identifier "linkersymbol" is reserved and can not be used.