Debian Codegraph @

src/test/04-Stress/func-call-5-sinosc.ck

raw
1 // #2024-func-call-update verification
2
3 // test various flavors of call member function...
4 SinOsc foo;
5
6 // test stack alignment; just emit function as value
7 repeat(100000) foo.freq;
8 // test stack alignment; call the function
9 repeat(100000) foo.freq(440);
10 // test stack alignment; call the function with =>
11 repeat(100000) 440 => foo.freq;
12
13 <<< "success" >>>;