solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/dot_in_fundecl.sol

12 lines
323 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
function f.() {}
function g.f() {}
}
}
}
// ----
// DeclarationError 3927: (63-79): User-defined identifiers in inline assembly cannot contain '.'.
// DeclarationError 3927: (86-103): User-defined identifiers in inline assembly cannot contain '.'.