aboutsummaryrefslogblamecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/compare1.erl
blob: 915ae7621c5c1cf03f581cdfc5225b6e9d6b7b99 (plain) (tree)
1
2
3
4


                                                                      
                 
















                                                                      
%%%-------------------------------------------------------------------
%%% File    : compare1.erl
%%% Author  : Tobias Lindahl <[email protected]>
%%% Description :
%%%
%%% Created : 20 Apr 2007 by Tobias Lindahl <[email protected]>
%%%-------------------------------------------------------------------
-module(compare1).

-export([t/0]).

t() ->
  t(42).

t(X) when X > 42 ->
  error;
t(X) when X < 42 ->
  error;
t(X) when X =/= 42 ->
  error;
t(X) -> ok.