aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/pr-8742.ch
blob: 0541149978e5cb5fd3394136772b55800721322c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
hugo : module
  
  synmode a = range(1:10);
  synmode p = powerset a;
  
  synmode s = set (sa, sb, sc);
  synmode s_ps = powerset s;
  
  x: proc (ps p);
    dcl i a;
    do for i in ps;
      writetext (stdout, "%C ", i);
    od;
    writetext(stdout, "%/");
  end x;
  
  y : proc (ps s_ps);
    dcl i s;
    do for i in ps;
      writetext (stdout, "%C ", i);
    od;
    writetext(stdout, "%/");
  end y;

  dummy: proc ();
  end dummy;
      
  x([1,2,3]);
  y([sa, sc]);
  dummy ();
  
end hugo;