3 ; RUN: llvm-pdbutil pretty -all -class-recurse-depth=1 \
4 ; RUN: %p/Inputs/TypeQualifiersTest.pdb > %t
5 ; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBALS_FUNC
6 ; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBALS_DATA
7 ; RUN: FileCheck -input-file=%t %s -check-prefix=QUALS
9 ; GLOBALS_FUNC: ---GLOBALS---
10 ; GLOBALS_FUNC-DAG: int __cdecl f(const volatile int* __restrict arg_crv)
11 ; GLOBALS_FUNC-DAG: void __cdecl g(int& __restrict arg_ref)
13 ; GLOBALS_DATA: ---GLOBALS---
14 ; GLOBALS_DATA-DAG: static volatile int* __restrict ArrayVar[10][100]
15 ; GLOBALS_DATA-DAG: static long* __restrict RestrictVar
16 ; GLOBALS_DATA-DAG: static const int* __restrict NS::p_object
17 ; GLOBALS_DATA-DAG: static NS::Foo NS::s
18 ; GLOBALS_DATA-DAG: static volatile int* __restrict NS::p_data_member
21 ; QUALS-DAG: typedef volatile int*[100][10] RankNArray
22 ; QUALS-DAG: typedef long* __restrict RestrictTypedef
24 ; QUALS-DAG: int* __restrict x_member
25 ; QUALS-DAG: float* __restrict y_member
26 ; QUALS-DAG: int* volatile __restrict m_volatile
27 ; QUALS-DAG: const char* m_const