source: git/Tst/Short/bug_newstruct7.tst @ 2c5e69

spielwiese
Last change on this file since 2c5e69 was 2c5e69, checked in by Hans Schoenemann <hannes@…>, 3 years ago
fix: assign rings for ring-dep stuff in newstruct
  • Property mode set to 100644
File size: 285 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4proc testproc()
5{
6  ring S = 32003,x,dp;
7  ideal I = 2x;
8  teststruct output;
9  output.I = I;
10  return(output);
11}
12newstruct("teststruct", "ideal I");
13ring R = 0,a,dp;
14def erg = testproc();
15erg.I;
16erg.I;
17def rr=erg.r_I;
18setring rr;
19erg.I;
20
21
22tst_status(1);$
23
Note: See TracBrowser for help on using the repository browser.