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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88106 - (show annotations)
Fri Dec 9 19:40:47 2011 UTC (7 years, 8 months ago) by manus
File size: 203 byte(s)
Added new test showing an incorrect code generation in finalized mode when returning an expanded Result and performing a memory allocation on it that triggers the GC.

1 class
2 TEST
3
4 create
5 make
6
7 feature
8
9 make is
10 local
11 l_exp: EXP
12 do
13 l_exp := new_exp
14 io.put_integer (l_exp.i)
15 io.put_new_line
16 end
17
18 new_exp: EXP
19 do
20 Result.allocate_memory
21 end
22
23 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23