Debian Codegraph @

gcc/testsuite/g++.dg/modules/100616_d.C

raw
1 // { dg-additional-options {-std=c++20 -fmodules-ts} }
2
3 import "100616_a.H";
4 import pr100616_b;
5 import pr100616_c;
6
7 C<A{}> c0;
8 using type = decltype(c0);
9 using type = decltype(c1);
10 using type = decltype(c2); // bogus error: types of c1 and c2 don't match