fieker-DuValspielwiese
Last change
on this file since 0aebfe 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 | |
---|
1 | int i; |
---|
2 | ring r; |
---|
3 | "allocating a lot of memory, that is never freed"; |
---|
4 | for (i=1; i<20; i=i+1) |
---|
5 | { |
---|
6 | poly rp(i) = x^i; |
---|
7 | } |
---|
8 | ring rr; |
---|
9 | for (i=1; i<100; i=i+1) |
---|
10 | { |
---|
11 | poly rrp(i) = y^i; |
---|
12 | } |
---|
13 | setring r; |
---|
14 | rp(10); |
---|
15 | setring rr; |
---|
16 | rrp(10); |
---|
17 | kill r; |
---|
18 | ring r; |
---|
19 | for (i=1; i<100; i=i+1) |
---|
20 | { |
---|
21 | poly rp(i) = y^i; |
---|
22 | } |
---|
23 | listvar(all); |
---|
24 | LIB "tst.lib";tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.