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