aboutsummaryrefslogblamecommitdiffstats
path: root/lib/tools/test/cover_SUITE_data/otp_6115/f2.erl
blob: 72a6a64c4d2597a2e3196a2039e2ff25473963d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                           
-module(f2).
-export([start/1]).

start(Fun) ->
    spawn(fun() ->
		  wait(Fun)
	  end).

wait(Fun) ->
    receive
	go ->
	    Fun()
    end.