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

Contents of /trunk/eweasel/tests/valid129/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: 1053 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 inconsistent-vsta1
10 test_description A call to a static feature `feature {FOO [like Current]}.value' where FOO is declared as FOO [G] causes the compiler to report a VSTA(1) error, which says to make sure "FOO [like Current]" is just a class name and not a type specification. But the compiler accepts `feature {FOO [STRING]}.value' and "FOO [STRING]" is a type specification.
11
12 copy_sub Ace $TEST Ace
13 define GENERIC STRING
14 copy_sub test.e $CLUSTER test.e
15 copy_raw test1.e $CLUSTER test1.e
16 compile_melted
17 compile_result ok
18
19 execute_work NONE exec_output1
20 execute_result ok
21 compare exec_output1 output
22
23 define GENERIC "like Current"
24 copy_sub test.e $CLUSTER test.e
25 compile_melted
26 compile_result ok
27
28 execute_work NONE exec_output1
29 execute_result ok
30 compare exec_output1 output
31
32 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23