aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_tests_SUITE_data/src/atom_guard.erl
blob: 67d97f8e29f9926f07130687ea192680a1799487 (plain) (blame)
1
2
3
4
5
6
7
8
9
-module(atom_guard).
-export([test/0]).

test() ->
    foo(42).

foo(X) when is_atom(x) ->
    X.