aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/pr-6292.ch
blob: c2ed95361c6ca7ff807ac5ae3c73ece671fcc131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
hack : module

dcl i int;

fred : proc (a int in, b int loc);
  writetext(stdout, "a was '%C'; b was '%C'.%/", a, b);
  b + := 1;
end fred;

klaus : proc ();
  writetext(stdout, "here's klaus calling.%/");
end klaus;

i:=12;
writetext(stdout, "done.%/");

end hack;