parse_trans/examples/test_exprecs.erl
2010-02-25 07:34:17 -05:00

14 lines
160 B
Erlang

-module(test_exprecs).
-export([f/0]).
-compile({parse_transform, exprecs}).
-record(r, {a, b, c}).
-export_records([r]).
f() ->
{new, '#new-r'([])}.