aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/opaque_SUITE_data/src/zoltan_kis3.erl
blob: b62b9de5760bfc35d9996bbb3cd590ee9d8101f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-module(zoltan_kis3).

-export([f/0, gen/0]).

-opaque id() :: string().

-spec f() -> char().

%% List pattern matching issue
f() -> [H|_T] = gen(), H.

-spec gen() -> id().

gen() -> "Dummy".