1 // { dg-additional-options -fmodules-ts } 2 module foo; 3 import :bits; 4 Factory()5 Foo *Foo::Factory () 6 { 7 return new Foo (); 8 } 9