parse_trans/examples/ct_expand_test.erl
uwiger bd33333246 forgot to add new files
git-svn-id: http://svn.ulf.wiger.net/parse_trans/trunk/parse_trans@6 ae7daa23-5771-0410-ae54-ec81a0701e84
2009-09-11 09:29:39 +00:00

15 lines
260 B
Erlang

-module(ct_expand_test).
-export([f/0]).
-compile({parse_transform, ct_expand}).
-pt_pp_src(true).
f() ->
ct_expand:term(
[{a, 1},
{b, ct_expand:term(
[{ba, 1},
{bb, ct_expand:term(2)}])}]).