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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 93791 - (show annotations)
Mon Dec 23 18:11:38 2013 UTC (5 years, 9 months ago) by dhollen
File size: 149 byte(s)
Added test ccomp089 for bug #18785, where a REAL_64 constant attribute
with value 0.0 causes generation of incorrect and uncompilable C code
when frozen with Linux 32-bit compiler.

1
2 class TEST
3
4 create
5 make
6
7 feature {NONE}
8
9 make
10 do
11 if angle = 0.0 then
12 print (angle); io.new_line
13 end
14 end
15
16 angle: REAL_64 = 0.0
17
18 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23