Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/g++.dg/modules/namespace-4_b.C
2023-03-06 14:48:14 +01:00

16 lines
217 B
C

// { dg-additional-options "-fmodules-ts" }
module frob;
namespace
{
void *nope; // ok, different nope
}
void *q (int)
{
f (bool (nope));
g (static_cast <int *> (nope));
return nope; // Ok sees above nope
}