blob: ab302bc1b6b9d0595b598fc84a60b58bf46a9c82 [file] [log] [blame]
// { dg-additional-options -fmodules-ts }
// The instantiation of the *definition* of basic_string is used in
// importers, *after* they have instantiated a declaration of it *and*
// created type variants.
module;
#include "tdef-inst-1.h"
export module foo;
// { dg-module-cmi foo }
export inline int greeter (string const &bob)
{
return sizeof (bob); // instantiates string
}