blob: 5813321f000d8a76d5d8a49e928939303149c027 [file] [log] [blame]
Zachary Turnerbd336e42017-06-09 20:46:17 +00001; RUN: llvm-pdbutil pretty -types %p/Inputs/ClassLayoutTest.pdb > %t
Dimitry Andric227b9282016-01-03 17:22:03 +00002; 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:
Zachary Turnerc883a8c2017-04-12 23:18:21 +000013; MEMBER_ENUM: struct __vc_attributes::threadingAttribute [sizeof = 4] {
Dimitry Andric227b9282016-01-03 17:22:03 +000014; 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: }