mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-08 14:35:20 +02:00
running in parallel on a multi-core machine (12 min execution time on a i9 9900, ngspice compiled with gcc, debug mode enabled. Linux with Valgrind and Parallel are required.
11 lines
173 B
Plaintext
11 lines
173 B
Plaintext
Test define/let
|
|
* function with single parameter is o.k.
|
|
* function with two parameters leaks memory
|
|
|
|
.control
|
|
define myfcn(x,y) (y + x + 1)
|
|
let nn = myfcn(2,3)
|
|
.endc
|
|
|
|
.end
|