mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
195 B
Solidity
8 lines
195 B
Solidity
contract C {
|
|
function f() public {}
|
|
struct S {f x;}
|
|
function g(function(S memory) external) public {}
|
|
}
|
|
// ----
|
|
// TypeError 5172: (50-51): Name has to refer to a struct, enum or contract.
|