RosettaCodeData/Task/Parametric-polymorphism/C3/parametric-polymorphism-2.c3

8 lines
86 B
Text
Raw Permalink Normal View History

2023-08-01 14:30:30 -07:00
import tree;
2023-07-01 11:58:00 -04:00
fn void test()
{
2023-08-01 14:30:30 -07:00
Tree(<int>) inttree;
inttree.replace_all(3);
2023-07-01 11:58:00 -04:00
}