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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 66108 - (show annotations)
Mon Jan 22 20:54:12 2007 UTC (12 years, 8 months ago) by martins
File size: 502 byte(s)
New tests checking multi-constraint formal generics.
1
2 --| Copyright (c) 1993, David Hollenberg, USC Information Sciences Institute
3 --| All rights reserved.
4
5 class
6 TEST[G -> {COMPARABLE rename default_create as comparables_default_create end, NUMERIC rename generating_type as numerics_generating_type end} create default_create end]
7 creation
8 make
9 feature
10 make is
11 -- foo
12 local
13 l_test: G
14 do
15 create l_test
16 print (l_test.generating_type)
17 print ("%N")
18 l_test := l_test.one
19 print (l_test.one + l_test)
20 print ("%N")
21 end
22 end

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23