(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
modules/
lambda-1_a.C
// { dg-module-do run }
// { dg-additional-options "-fmodules-ts" }
export module tom.riddle;
// { dg-module-cmi tom.riddle }

export inline auto One (int a)
{
  return [=] (int b) { return a + b; };
}

// Look Ma! this isn't inline!
export auto Two (int a)
{
  return [=] (int b) { return a * b; };
}