source: git/Tst/Short/bug_tr404.tst @ 0054e7

spielwiese
Last change on this file since 0054e7 was 1cbc28, checked in by Oleksandr Motsak <motsak@…>, 12 years ago
updated test according to legacy Singular + new lists of tests
  • Property mode set to 100644
File size: 529 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4// alias stuff
5proc dummy1(alias list l) { int i = l[1]; i; };
6proc dummy2(alias list l) { int i = l[1][1]; i; };
7list l1 = list(1, 2);
8list l2 = list(list(1), list(2));
9dummy1(l1);
10dummy2(l2);
11proc adummy1(int a, int b) { return("works"); };
12proc adummy2(alias int a, int b) { return("works"); };
13proc adummy3(int a, alias int b) { return("works"); };
14proc adummy4(alias int a, alias int b) { return("works"); };
15int a, b;
16adummy1(a, b);
17adummy2(a, b);
18adummy3(a, b);
19adummy4(a, b);
20
21tst_status(1);$
Note: See TracBrowser for help on using the repository browser.