aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/inlineAssembly/function_without_call.sol
blob: 8557e2fa45759629762b028a6aba245215eeb5c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
contract C {
  function f() public pure {
    assembly {
      function k() {}

      k
    }
  }
}
// ----
// TypeError: (86-87): Function k used without being called.