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

Contents of /trunk/eweasel/tests/valid083/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: 943 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 operator-feat-export-to-self
10 test_description Class A has an operator feature exported only to itself and its descendants. When class B (which is not a descendant of class A) tries to call this feature, the compiler should report a VUEX(2) error.
11
12 copy_sub Ace $TEST Ace
13 define EXPRESSION "x + n"
14 copy_sub test.e $CLUSTER test.e
15 copy_raw test1.e $CLUSTER test1.e
16 compile_melted
17 compile_result validity_error TEST VUEX(2)
18
19 define EXPRESSION "+ x"
20 copy_sub test.e $CLUSTER test.e
21 resume_compile
22 compile_result validity_error TEST VUEX(2)
23
24 define EXPRESSION "x.weasel"
25 copy_sub test.e $CLUSTER test.e
26 resume_compile
27 compile_result validity_error TEST VUEX(2)
28
29 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23