/[eiffelstudio]/trunk/eweasel/tests/fixed097/test.e
ViewVC logotype

Contents of /trunk/eweasel/tests/fixed097/test.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years ago) by manus
File size: 858 byte(s)
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.
1
2 --| Copyright (c) 1993-2006 University of Southern California and contributors.
3 --| All rights reserved.
4 --| Your use of this work is governed under the terms of the GNU General
5 --| Public License version 2.
6
7 -- To reproduce error:
8 -- Compile class as is. Finish_freezing. Execute `test'.
9 -- Output looks correct.
10 -- Uncomment first line of `make'. Rerun es3. Execute `test'.
11 -- Values printed for reals and doubles are not correct.
12
13 class
14 TEST
15 creation
16 make
17 feature
18
19 make is
20 local
21 k: INTEGER
22 do
23 io.putstring ("print (9.876534): ");
24 print (9.876534); io.new_line;
25 io.putstring ("io.putreal (9.876534): ");
26 io.putreal (9.876534); io.new_line;
27 io.putstring ("print (9.876534) double: ");
28 print (9.876534); io.new_line;
29 io.putstring ("io.putdouble (9.876534): ");
30 io.putdouble (9.876534); io.new_line;
31 end;
32 end
33

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23