/[eiffelstudio]/branches/eth/eve/eweasel/tests/incr126/tcf
ViewVC logotype

Contents of /branches/eth/eve/eweasel/tests/incr126/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 83441 - (show annotations)
Sat Jun 5 13:52:53 2010 UTC (9 years, 7 months ago) by jasonw
File size: 1407 byte(s)
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.
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-veen-sneak
10 test_description After initial compilation, the type of an entity in a generic class is changed from `FOO [G]' (where G is the name of the formal parameter of the enclosing generic class) to `FOO [STRING], thereby introducing a VEEN error. When the system is recompiled, the compiler does not detect the error, but only if a generic generic constraint is also added to the single formal generic parameter of FOO.
11
12 copy_sub Ace $TEST Ace
13 define GENERIC_DERIVATION "TEST2 [G]"
14 define GENERIC_HEADER "class TEST2 [G]"
15 copy_raw test.e $CLUSTER test.e
16 copy_sub test1.e $CLUSTER test1.e
17 copy_sub test2.e $CLUSTER test2.e
18 copy_raw test3.e $CLUSTER test3.e
19 compile_melted
20 compile_result ok
21
22 define GENERIC_DERIVATION "TEST2 [STRING]"
23 define GENERIC_HEADER "class TEST2 [G -> STRING]"
24 copy_sub test1.e $CLUSTER test1.e
25 copy_sub test2.e $CLUSTER test2.e
26 compile_melted
27 compile_result validity_error TEST VEEN
28
29 define GENERIC_DERIVATION "TEST2 [G]"
30 define GENERIC_HEADER "class TEST2 [G]"
31 copy_sub test1.e $CLUSTER test1.e
32 copy_sub test2.e $CLUSTER test2.e
33 resume_compile
34 compile_result ok
35
36 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23