1 // REQUIRED_ARGS: -g
2 // PERMUTE_ARGS: -inline -version=A
3 // EXTRA_SOURCES: imports/link15194b.d imports/link15194std.d
4 // COMPILE_SEPARATELY: -g
5 
6 import imports.link15194std;
7 import imports.link15194b;
8 
9 void main()
10 {
11     int[] foo;
12 
13     // fun() returns new RedBlackTree!int. But it's instantiated in
14     // non-template non-root function, so it's left as speculative.
15     setUnion(fun()[], foo);
16 }
17