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

Contents of /trunk/eweasel/tests/incr105/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: 1311 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 veen-cant-find-feature
10 test_description After initial compilation, an attribute which is the target of a creation instruction is moved to a parent class and changed to an external function. The compiler detects the VGCC(7) error. Then the inheritance clause for the parent is deleted from the heir and compilation is resumed.
11
12 copy_sub Ace $TEST Ace
13 define INHERITANCE "inherit TEST1"
14 define ATTRIBUTE "x: STRING"
15 define EXTERNAL ""
16 copy_sub test.e $CLUSTER test.e
17 copy_sub test1.e $CLUSTER test1.e
18 compile_melted
19 compile_result ok
20
21 define ATTRIBUTE ""
22 define EXTERNAL "x: STRING is external "C" end"
23 copy_sub test.e $CLUSTER test.e
24 copy_sub test1.e $CLUSTER test1.e
25 compile_melted
26 compile_result validity_error TEST VGCC(7)
27
28 define INHERITANCE ""
29 copy_sub test.e $CLUSTER test.e
30 resume_compile
31 compile_result validity_error TEST VEEN
32
33 define INHERITANCE "inherit TEST1"
34 define EXTERNAL "x: STRING"
35 copy_sub test.e $CLUSTER test.e
36 copy_sub test1.e $CLUSTER test1.e
37 resume_compile
38 compile_result ok
39
40 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23