aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/receive1.erl
blob: 96fdf54e4dafa10ba8f2af506d42308689299a24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%%%-------------------------------------------------------------------
%%% File    : receive1.erl
%%% Author  : Tobias Lindahl <[email protected]>
%%% Description :
%%%
%%% Created : 27 Mar 2007 by Tobias Lindahl <[email protected]>
%%%-------------------------------------------------------------------
-module(receive1).

-export([t/1]).

t(X) ->
  receive
  after
    infinity -> X
  end.