1; REQUIRES: diasdk
2
3; RUN: llvm-pdbutil pretty -types %p/Inputs/ClassLayoutTest.pdb > %t
4; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBAL_ENUM
5; RUN: FileCheck -input-file=%t %s -check-prefix=MEMBER_ENUM
6
7; GLOBAL_ENUM: ---TYPES---
8; GLOBAL_ENUM: Enums:
9; GLOBAL_ENUM: enum GlobalsTest::Enum {
10; GLOBAL_ENUM-NEXT: Val1 = 0
11; GLOBAL_ENUM-NEXT: }
12
13; MEMBER_ENUM: ---TYPES---
14; MEMBER_ENUM: Classes:
15; MEMBER_ENUM: struct __vc_attributes::threadingAttribute [sizeof = 4] {
16; MEMBER_ENUM-NEXT: enum threading_e {
17; MEMBER_ENUM-NEXT: apartment = 1
18; MEMBER_ENUM-NEXT: single = 2
19; MEMBER_ENUM-NEXT: free = 3
20; MEMBER_ENUM-NEXT: neutral = 4
21; MEMBER_ENUM-NEXT: both = 5
22; MEMBER_ENUM-NEXT: }
23