Debian Codegraph @

gcc/testsuite/g++.dg/modules/namespace-4_b.C

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 }