annotate clang/test/PCH/cxx-key-functions.cpp @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -x c++ -include %s -emit-llvm-only %s
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -x c++ -emit-pch %s -o %t
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -include-pch %t -emit-llvm-only %s
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 #ifndef HEADER
anatofuz
parents:
diff changeset
6 #define HEADER
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 struct S00 { virtual void f(); };
anatofuz
parents:
diff changeset
9 struct S01 { virtual void f(); };
anatofuz
parents:
diff changeset
10 struct S02 { virtual void f(); };
anatofuz
parents:
diff changeset
11 struct S03 { virtual void f(); };
anatofuz
parents:
diff changeset
12 struct S04 { virtual void f(); };
anatofuz
parents:
diff changeset
13 struct S05 { virtual void f(); };
anatofuz
parents:
diff changeset
14 struct S06 { virtual void f(); };
anatofuz
parents:
diff changeset
15 struct S07 { virtual void f(); };
anatofuz
parents:
diff changeset
16 struct S08 { virtual void f(); };
anatofuz
parents:
diff changeset
17 struct S09 { virtual void f(); };
anatofuz
parents:
diff changeset
18 struct S10 { virtual void f(); };
anatofuz
parents:
diff changeset
19 struct S11 { virtual void f(); };
anatofuz
parents:
diff changeset
20 struct S12 { virtual void f(); };
anatofuz
parents:
diff changeset
21 struct S13 { virtual void f(); };
anatofuz
parents:
diff changeset
22 struct S14 { virtual void f(); };
anatofuz
parents:
diff changeset
23 struct S15 { virtual void f(); };
anatofuz
parents:
diff changeset
24 struct S16 { virtual void f(); };
anatofuz
parents:
diff changeset
25 struct S17 { virtual void f(); };
anatofuz
parents:
diff changeset
26 struct S18 { virtual void f(); };
anatofuz
parents:
diff changeset
27 struct S19 { virtual void f(); };
anatofuz
parents:
diff changeset
28 struct S20 { virtual void f(); };
anatofuz
parents:
diff changeset
29 struct S21 { virtual void f(); };
anatofuz
parents:
diff changeset
30 struct S22 { virtual void f(); };
anatofuz
parents:
diff changeset
31 struct S23 { virtual void f(); };
anatofuz
parents:
diff changeset
32 struct S24 { virtual void f(); };
anatofuz
parents:
diff changeset
33 struct S25 { virtual void f(); };
anatofuz
parents:
diff changeset
34 struct S26 { virtual void f(); };
anatofuz
parents:
diff changeset
35 struct S27 { virtual void f(); };
anatofuz
parents:
diff changeset
36 struct S28 { virtual void f(); };
anatofuz
parents:
diff changeset
37 struct S29 { virtual void f(); };
anatofuz
parents:
diff changeset
38 struct S30 { virtual void f(); };
anatofuz
parents:
diff changeset
39 struct S31 { virtual void f(); };
anatofuz
parents:
diff changeset
40 struct S32 { virtual void f(); };
anatofuz
parents:
diff changeset
41 struct S33 { virtual void f(); };
anatofuz
parents:
diff changeset
42 struct S34 { virtual void f(); };
anatofuz
parents:
diff changeset
43 struct S35 { virtual void f(); };
anatofuz
parents:
diff changeset
44 struct S36 { virtual void f(); };
anatofuz
parents:
diff changeset
45 struct S37 { virtual void f(); };
anatofuz
parents:
diff changeset
46 struct S38 { virtual void f(); };
anatofuz
parents:
diff changeset
47 struct S39 { virtual void f(); };
anatofuz
parents:
diff changeset
48 struct S40 { virtual void f(); };
anatofuz
parents:
diff changeset
49 struct S41 { virtual void f(); };
anatofuz
parents:
diff changeset
50 struct S42 { virtual void f(); };
anatofuz
parents:
diff changeset
51 struct S43 { virtual void f(); };
anatofuz
parents:
diff changeset
52 struct S44 { virtual void f(); };
anatofuz
parents:
diff changeset
53 struct S45 { virtual void f(); };
anatofuz
parents:
diff changeset
54 struct S46 { virtual void f(); };
anatofuz
parents:
diff changeset
55 struct S47 { virtual void f(); };
anatofuz
parents:
diff changeset
56 struct S48 { virtual void f(); };
anatofuz
parents:
diff changeset
57 struct S49 { virtual void f(); };
anatofuz
parents:
diff changeset
58 struct S50 { virtual void f(); };
anatofuz
parents:
diff changeset
59 struct S51 { virtual void f(); };
anatofuz
parents:
diff changeset
60 struct S52 { virtual void f(); };
anatofuz
parents:
diff changeset
61 struct S53 { virtual void f(); };
anatofuz
parents:
diff changeset
62 struct S54 { virtual void f(); };
anatofuz
parents:
diff changeset
63 struct S55 { virtual void f(); };
anatofuz
parents:
diff changeset
64 struct S56 { virtual void f(); };
anatofuz
parents:
diff changeset
65 struct S57 { virtual void f(); };
anatofuz
parents:
diff changeset
66 struct S58 { virtual void f(); };
anatofuz
parents:
diff changeset
67 struct S59 { virtual void f(); };
anatofuz
parents:
diff changeset
68 struct S60 { virtual void f(); };
anatofuz
parents:
diff changeset
69 struct S61 { virtual void f(); };
anatofuz
parents:
diff changeset
70 struct S62 { virtual void f(); };
anatofuz
parents:
diff changeset
71 struct S63 { virtual void f(); };
anatofuz
parents:
diff changeset
72 struct S64 { virtual void f(); };
anatofuz
parents:
diff changeset
73 struct S65 { virtual void f(); };
anatofuz
parents:
diff changeset
74 struct S66 { virtual void f(); };
anatofuz
parents:
diff changeset
75 struct S67 { virtual void f(); };
anatofuz
parents:
diff changeset
76 struct S68 { virtual void f(); };
anatofuz
parents:
diff changeset
77 struct S69 { virtual void f(); };
anatofuz
parents:
diff changeset
78
anatofuz
parents:
diff changeset
79 struct Test {
anatofuz
parents:
diff changeset
80 // Deserializing this key function should cause the key functions
anatofuz
parents:
diff changeset
81 // table to get resized.
anatofuz
parents:
diff changeset
82 virtual void f(S00, S01, S02, S03, S04, S05, S06, S07, S08, S09,
anatofuz
parents:
diff changeset
83 S10, S11, S12, S13, S14, S15, S16, S17, S18, S19,
anatofuz
parents:
diff changeset
84 S20, S21, S22, S23, S24, S25, S26, S27, S28, S29,
anatofuz
parents:
diff changeset
85 S30, S31, S32, S33, S34, S35, S36, S37, S38, S39,
anatofuz
parents:
diff changeset
86 S40, S41, S42, S43, S44, S45, S46, S47, S48, S49,
anatofuz
parents:
diff changeset
87 S50, S51, S52, S53, S54, S55, S56, S57, S58, S59,
anatofuz
parents:
diff changeset
88 S60, S61, S62, S63, S64, S65, S66, S67, S68, S69);
anatofuz
parents:
diff changeset
89 virtual void g();
anatofuz
parents:
diff changeset
90 };
anatofuz
parents:
diff changeset
91
anatofuz
parents:
diff changeset
92 #else
anatofuz
parents:
diff changeset
93
anatofuz
parents:
diff changeset
94 void Test::g() {}
anatofuz
parents:
diff changeset
95 void h(Test &t) { t.g(); }
anatofuz
parents:
diff changeset
96
anatofuz
parents:
diff changeset
97 #endif