solidity/test/libsolidity/syntaxTests/metaTypes/name.sol

6 lines
111 B
Solidity
Raw Normal View History

contract Test {
function f() public pure returns (string memory) {
return type(Test).name;
}
}