☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
namespace-4_b.C
☽
☼
gcc/testsuite/g++.dg/modules/namespace-4_b.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
3
module frob;
4
5
namespace
6
{
7
void *nope; // ok, different nope
8
}
9
10
void *q (int)
11
{
12
f (bool (nope));
13
g (static_cast <int *> (nope));
14
return nope; // Ok sees above nope
15
}