source: git/Tst/Short/bug_tr158.tst @ 051432

spielwiese
Last change on this file since 051432 was 1cdea14, checked in by Hans Schönemann <hannes@…>, 15 years ago
*hannes: tr158 git-svn-id: file:///usr/local/Singular/svn/trunk@12069 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 479 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// only debug version produces this error:
5ring r = 0,(x, y), dp;
6intmat A[2][2] = 1, 0, 0, 1;
7attrib(basering, "mgrad", A);
8
9proc getGrad2(){ attrib(basering, "mgrad"); }
10getGrad2(); // produces nothing!
11
12proc getGrad(def A){ attrib(A, "mgrad"); }
13
14getGrad(basering); // Produces: "atKill: unknown type(267)"
15/*
16::getGrad   0. parameter def A;
17::getGrad   1>  attrib(A, "mgrad");
181,0,
190,1
20::getGrad   2>
21atKill: unknown type(267)
22*/
23tst_status(1);$
Note: See TracBrowser for help on using the repository browser.