blob: f336f006d5f8dec3ee35af0ffeccc90b590f3447 [file] [log] [blame]
// { dg-additional-options -fmodules-ts }
export module foo;
// { dg-module-cmi foo }
#define MACRO(X) X
export template<int I> int Factory ()
{
// this macro expansion location ends up in the instantiation
// emitted by an importer
return MACRO(I);
}