source: git/Tst/Short/newstruct_ring.tst @ 03ce7d6

spielwiese
Last change on this file since 03ce7d6 was 03ce7d6, checked in by Hans Schoenemann <hannes@…>, 5 years ago
fix: "unnamed" rings in ssi links (see 22e96845dde53c6be044d3ea1bbb4d8c29599335)
  • Property mode set to 100644
File size: 352 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4newstruct("ideal_in_another_ring", "ideal I");
5
6proc ttt()
7{
8  ring r;
9  ideal I = 3*x;
10  ideal_in_another_ring s;
11  s.I = I;
12  return(s);
13}
14
15LIB "parallel.lib";
16list out = parallelWaitAll("ttt", list(list()));
17def s = out[1];
18def r = s.r_I;
19setring r;
20ideal I = s.I;
21setring r;
22ideal I = s.I;
23I;
24listvar();
25tst_status(1);$
Note: See TracBrowser for help on using the repository browser.