mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
399 B
Solidity
9 lines
399 B
Solidity
contract Test {
|
|
function f() public pure {
|
|
type(type(type(Test)));
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 4259: (65-75): Invalid type for argument in the function call. A contract type or an integer type is required, but type(contract Test) provided.
|
|
// TypeError 4259: (60-76): Invalid type for argument in the function call. A contract type or an integer type is required, but tuple() provided.
|