1// Rank > 0 array
2typedef volatile int* RankNArray[10][100];
3RankNArray ArrayVar;
4
5typedef int __unaligned *UnalignedTypedef;
6UnalignedTypedef UnVar;
7
8typedef long* __restrict RestrictTypedef;
9RestrictTypedef RestrictVar;
10
11void Func1(const int* a, int const* b, const int ** const c, const int* const* d) {
12 return;
13}
14
15void Func2(volatile int* a, int volatile* b) {
16 return;
17}
18
19void Func3(int*& a, int& b, const int&c, int&& d) {
20 return;
21}
22
23void Func4(int* __unaligned a, __unaligned int* b) {
24 return;
25}
26
27void Func5(int a, int* __restrict b, int& __restrict c) {
28 return;
29}
30
31void Func6(const volatile int* __restrict b) {
32 return;
33}
34
35// LValue
36typedef int& IntRef;
37int x = 0;
38IntRef IVar = x;
39
40// RValue
41typedef int&& IIRef;
42IIRef IIVar = int(1);
43
44int main() {
45 return 0;
46}
47

source code of lldb/test/Shell/SymbolFile/PDB/Inputs/TypeQualsTest.cpp