Debian Codegraph @

gcc/testsuite/g++.dg/modules/using-30_c.C

raw
1 // { dg-additional-options "-fmodules" }
2 // The different declarations in the anonymous namespace shouldn't clash with
3 // those in M.
4
5 namespace {
6 using A = double;
7 typedef double B;
8 using C = double;
9 typedef double D;
10 }
11 import M;
12 int main() {
13 A a = 1.0;
14 B b = 2.0;
15 C c = 3.0;
16 D d = 4.0;
17 }