summaryrefslogtreecommitdiff
path: root/test/rebar_edoc_SUITE_data/bad/apps/bar2/src/bar2.erl
blob: 2afb745d2c7eb20b3e1529183f9ded6e99a550a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%% @doc one docline is fine
%% @doc a second docline causes a failure
%% @doc if not, then a & causes a bad ref error.
-module(bar2).
-export([bar2/0]).
-export_type([barer2/0]).

-type barer2() :: string().

% @doc Bar2 bars the bar2.
-spec bar2() -> barer2().
bar2() -> "Barer2".