aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_tests_SUITE_data/src/receive1.erl
blob: 2699a6da51fa26456811670d5118aeff5d34d6b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%%%-------------------------------------------------------------------
%%% 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.