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

Contents of /trunk/eweasel/tests/incr388/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84305 - (show annotations)
Fri Aug 27 20:10:50 2010 UTC (9 years, 6 months ago) by dhollen
File size: 817 byte(s)
Added eweasel test incr388 for bug #17066, where changing the class used as actual
generic in the root type to be an expanded class and recompiling crashes the compiler
in {GEN_TYPE_A}.static_type_id.

1
2 test_name static-type-id-crash-2
3 test_description After initial compilation, changing to expanded the class that is used as actual generic for the root class and recompiling crashes the compiler with a call on Void target in {GEN_TYPE_A}.static_type_id
4
5 define EXPANDED ""
6 copy_sub Ace $TEST Ace
7 copy_raw test.e $CLUSTER test.e
8 copy_sub test1.e $CLUSTER test1.e
9 copy_raw test2.e $CLUSTER test2.e
10 copy_raw test3.e $CLUSTER test3.e
11 compile_frozen
12 compile_result ok
13
14 c_compile_work
15 c_compile_result ok
16
17 execute_work NONE exec_output1
18 execute_result ok
19 compare exec_output1 output
20
21 define EXPANDED "expanded"
22 copy_sub test1.e $CLUSTER test1.e
23 compile_frozen
24 compile_result ok
25
26 c_compile_work
27 c_compile_result ok
28
29 execute_work NONE exec_output2
30 execute_result ok
31 compare exec_output2 output
32
33 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23