Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/g++.dg/modules/vmort-2_c.C
2023-03-06 14:48:14 +01:00

22 lines
501 B
C

// { dg-additional-options "-fmodules-ts -fdump-lang-module-uid" }
import malfoy;
void interpose ()
{
// Force renumber of anon vars
auto lambda0 = [] () {};
auto lambda1 = [] () {};
auto lambda2 = [] () {};
}
int main ()
{
auto widget = conduit (2);
return !(widget (8) == 10);
}
// { dg-final { scan-lang-dump {Loading entity voldy\[1\] section:1} module } }
// { dg-final { scan-lang-dump {Indirect:-[0-9]* decl's type record_type:'::frobber@voldy:.::._anon_3@voldy:.'} module } }