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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 78876 - (show annotations)
Tue May 26 20:45:02 2009 UTC (10 years, 8 months ago) by alexk
File size: 182 byte(s)
Added an example to demonstrate that tuple of a basic type cannot be used as a tuple of a reference type.
1 class
2 TEST
3
4 create
5 make
6
7 feature {NONE} -- Creation
8
9 make
10 -- Run test.
11 local
12 t: TUPLE [a: ANY]
13 do
14 t := [123]
15 io.put_string (t.a.out)
16 io.put_new_line
17 end
18
19 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23