aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/indexing/function_type_without_index.sol
blob: bf511bc94d7ba509ab09bca37371af824209d254 (plain) (blame)
1
2
3
4
5
6
7
contract C {
  function f() public {
    f[];
  }
}
// ----
// TypeError: (41-42): Indexed expression has to be a type, mapping or array (is function ())