1 // PERMUTE_ARGS: -version=A
2 
3 // It's imported but won't be linked.
4 import imports.link10920a;
5 
6 void main()
7 {
8     BitArray ba;
9     version(A)
10     {
11         // Run semantic3 of BitArray.toString()
12         // before the FormatSpec instantiation in main().
13         pragma(msg, typeof(ba.toString()));
14     }
15 
16     // The instance codegen should be run always, unrelated with -version=A.
17     FormatSpec!char fs;
18     fs.func();
19 }
20