1 IN: compiler.units.tests
2 USING: definitions compiler.units tools.test arrays sequences words kernel
3 accessors namespaces fry ;
5 [ flushed-dependency ] [ f flushed-dependency strongest-dependency ] unit-test
6 [ flushed-dependency ] [ flushed-dependency f strongest-dependency ] unit-test
7 [ inlined-dependency ] [ flushed-dependency inlined-dependency strongest-dependency ] unit-test
8 [ inlined-dependency ] [ called-dependency inlined-dependency strongest-dependency ] unit-test
9 [ flushed-dependency ] [ called-dependency flushed-dependency strongest-dependency ] unit-test
10 [ called-dependency ] [ called-dependency f strongest-dependency ] unit-test
12 ! Non-optimizing compiler bugs
14 "A" "B" <word> [ [ 1 ] dip ] >>def dup f 2array 1array modify-code-heap
22 "a" get [ "A" ] define
23 "b" get "a" get '[ _ execute ] define
24 ] with-compilation-unit
27 "a" get [ "B" ] define
28 ] with-compilation-unit