mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
256 B
Solidity
14 lines
256 B
Solidity
|
library L {
|
||
|
function f(uint a) internal pure {}
|
||
|
}
|
||
|
contract C {
|
||
|
using L for *;
|
||
|
function f() pure public {
|
||
|
uint t;
|
||
|
function() pure x;
|
||
|
[t.f, x][0]({a: 8});
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 9563: (169-172): Invalid mobile type.
|