mirror of
https://github.com/valitydev/parse_trans.git
synced 2024-11-06 08:35:17 +00:00
13 lines
207 B
Erlang
13 lines
207 B
Erlang
%% This is a test module
|
|
-module(test).
|
|
-compile({parse_transform, test_pt}).
|
|
|
|
-export([f/1]).
|
|
-export_records([r]).
|
|
-record(r, {a = [1,2,3] :: [integer()],
|
|
b}).
|
|
|
|
-spec f(X) -> X.
|
|
f(X) ->
|
|
X.
|