/[eiffelstudio]/trunk/eweasel/tests/exec125/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/exec125/tcf

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: 1083 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 -- This is a test control file
8
9 test_name generic-generating-type
10 test_description A class FOO inherits a generic class twice providing different actual generic parameters and renaming the single routine `f' in the generic class. Routine `f' creates a local of type G and prints its generating type. The root class creates an instance of FOO and calls both versions of `f'. the system compiles fine, but produces the wrong results when executed.
11
12 define B "B"
13 copy_sub Ace $TEST Ace
14 copy_raw test.e $CLUSTER test.e
15 copy_raw a.e $CLUSTER a.e
16 copy_raw b.e $CLUSTER b.e
17 copy_raw c.e $CLUSTER c.e
18 copy_sub d.e $CLUSTER d.e
19 compile_melted
20 compile_result validity_error D ECMA-VHPR(5)
21
22 define B "A"
23 copy_sub d.e $CLUSTER d.e
24 resume_compile
25 compile_result ok
26
27 execute_work NONE exec_output1
28 execute_result ok
29 compare exec_output1 output
30
31 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23