(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
modules/
tdef-inst-1_a.C
// { 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
}