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

8 lines
157 B
Solidity

contract Test {
function f() public pure returns (bytes memory) {
type(Test);
}
}
// ----
// Warning 6133: (78-88): Statement has no effect.