Debian Codegraph @

gcc/testsuite/g++.dg/modules/string-view2.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // reduced from string-view1 through cvise. Broken under c++2a too.
3 // we were creating a hash slot, and then doing another lookup without
4 // initializing that first slot :(
5
6 namespace std {
7 typedef int a;
8 int b;
9 decltype(nullptr) c;
10 namespace xyz {}
11 __builtin_va_list d;
12 int n;
13 int e;
14 int f;
15 int g;
16 int h;
17 int i;
18 int j;
19 int k;
20 typedef struct l m;
21 typedef struct aa w;
22 typedef struct x o;
23 typedef x p;
24 long q;
25 long r;
26 typedef l s;
27 extern p ab;
28 void t();
29 void v();
30 extern p ac;
31 void ad();
32 int ae;
33 int af;
34 extern p ag;
35 extern p ah;
36 void ai();
37 void y();
38 int aj;
39 int ak;
40 int al;
41 char am;
42 int an;
43 a ao;
44 int ap;
45 int aq;
46 void z();
47 int ar;
48 int as;
49 void at();
50 void au();
51 void av();
52 void aw();
53 int u;
54 namespace zz {
55 }
56 }