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

Contents of /trunk/eweasel/tests/freez008/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: 1075 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 redefine-expanded-to-attribute
10 test_description A routine redefines an inherited routine that returns an expanded type or a BIT type and replaces it with an attribute. It also includes references to the attribute. The code compiles fine, but dies with a segmentation fault or "feature applied to void reference" if it was frozen. Melted code works fine. This appears to be a code generation bug.
11
12 copy_sub Ace $TEST Ace
13 copy_raw test.e $CLUSTER test.e
14 copy_raw test1.e $CLUSTER test1.e
15 copy_raw test2.e $CLUSTER test2.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 cleanup_compile
24
25 compile_frozen
26 compile_result ok
27
28 c_compile_work
29 c_compile_result ok
30
31 execute_work NONE exec_output2
32 execute_result ok
33 compare exec_output2 output
34
35 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23