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

Contents of /trunk/eweasel/tests/incr136/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: 1192 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 make-visible-class-unreachable
10 test_description A system has an Ace which specifies a visible class FOO, where FOO is reachable from the root class. After initial compilation where the system is frozen or finalized, a local is removed, making class FOO unreachable from the root. When the system is recompiled, the compiler correctly detects the VD31 error. But when the local is added back in and compilation is resumed, the compiler dies during degree -3 (during dead code removal if system was finalized).
11
12 copy_sub Ace $TEST Ace
13 define ATTRIBUTE "x: TEST2"
14 copy_sub test.e $CLUSTER test.e
15 copy_raw test1.e $CLUSTER test1.e
16 copy_raw test2.e $CLUSTER test2.e
17 compile_frozen
18 compile_result ok
19
20 define ATTRIBUTE ""
21 copy_sub test.e $CLUSTER test.e
22 compile_frozen
23 compile_result validity_error NONE VD31
24
25 define ATTRIBUTE "x: TEST2"
26 copy_sub test.e $CLUSTER test.e
27 resume_compile
28 compile_result ok
29
30 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23