Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorng committed Aug 28, 2023
1 parent 14e39b4 commit e88d62f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/dialyzer/test/small_SUITE_data/src/test_product_app.erl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-module(test_product_app).
-export([zero/0, one/1]).

-type mfa() :: integer().
-type product() :: binary().

-spec zero() -> any().
zero() ->
ok.

-spec one(mfa()) -> mfa().
one(I) when is_integer(I) ->
I * 42.

0 comments on commit e88d62f

Please sign in to comment.