Debian Codegraph @

gcc/testsuite/g++.dg/modules/tname-spec-1_b.C

raw
1 // { dg-additional-options -fmodules-ts }
2
3 #include <typeinfo>
4 import "tname-spec-1_a.H";
5
6 struct X
7 {
8 using difference_type = char;
9 };
10
11 pointer_traits<X>::difference_type x;
12
13 int main ()
14 {
15 return !(typeid (x) == typeid (long));
16 }