mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
214 B
Solidity
10 lines
214 B
Solidity
|
// SPDX-License-Identifier: GPL-3.0
|
||
|
pragma solidity >=0.0;
|
||
|
|
||
|
contract C {
|
||
|
function fun_x() public {}
|
||
|
function fun_() public {}
|
||
|
function f() public { true ? 1 : 3;}
|
||
|
function() r = true ? fun_x : f;
|
||
|
}
|