blob: 57006d182bc514bae319b8aaa837979266461def [file] [log] [blame]
Leonard Mosescu4bdbea32018-11-02 18:00:37 +00001; REQUIRES: diasdk
2
Zachary Turnerbd336e42017-06-09 20:46:17 +00003; RUN: llvm-pdbutil pretty -types %p/Inputs/ClassLayoutTest.pdb > %t
Dimitry Andric227b9282016-01-03 17:22:03 +00004; 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:
Zachary Turnerc883a8c2017-04-12 23:18:21 +000015; MEMBER_ENUM: struct __vc_attributes::threadingAttribute [sizeof = 4] {
Dimitry Andric227b9282016-01-03 17:22:03 +000016; 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: }