xref: /original-bsd/old/dbx/tests/pc/reals.p (revision 6061ebad)
1(*
2 * Test of reals.
3 *)
4
5program realtest (input, output);
6var
7    x : real;
8    y : real;
9
10function f (x : real) : real;
11begin
12    f := 3.14*x;
13end;
14
15begin
16    y := 3.0;
17    x := f(y);
18end.
19