source: git/Tst/Old/cring.tst @ 1ebec3

spielwiese
Last change on this file since 1ebec3 was 46976a6, checked in by Olaf Bachmann <obachman@…>, 26 years ago
* added status check to regress.cmd * added tst_status(1); call to each tst file, just before quit git-svn-id: file:///usr/local/Singular/svn/trunk@2271 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 319 bytes
Line 
1int i;
2ring r;
3"allocating a lot of memory, that is never freed";
4for (i=1; i<20; i=i+1)
5{
6  poly rp(i) = x^i;
7}
8ring rr;
9for (i=1; i<100; i=i+1)
10{
11  poly rrp(i) = y^i;
12}
13setring r;
14rp(10);
15setring rr;
16rrp(10);
17kill r;
18ring r;
19for (i=1; i<100; i=i+1)
20{
21  poly rp(i) = y^i;
22}
23listvar(all);
24LIB "tst.lib";tst_status(1);$
Note: See TracBrowser for help on using the repository browser.