Fix a bug in test case -- duplicate entries
[oota-llvm.git] / test / tools / llvm-pdbdump / enum-layout.test
1 ; RUN: llvm-pdbdump -types %p/Inputs/ClassLayoutTest.pdb > %t\r
2 ; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBAL_ENUM\r
3 ; RUN: FileCheck -input-file=%t %s -check-prefix=MEMBER_ENUM\r
4 \r
5 ; GLOBAL_ENUM: ---TYPES---\r
6 ; GLOBAL_ENUM: Enums:\r
7 ; GLOBAL_ENUM: enum GlobalsTest::Enum {\r
8 ; GLOBAL_ENUM-NEXT: Val1 = 0\r
9 ; GLOBAL_ENUM-NEXT: }\r
10 \r
11 ; MEMBER_ENUM: ---TYPES---\r
12 ; MEMBER_ENUM: Classes:\r
13 ; MEMBER_ENUM: struct __vc_attributes::threadingAttribute {\r
14 ; MEMBER_ENUM-NEXT: enum threading_e {\r
15 ; MEMBER_ENUM-NEXT: apartment = 1\r
16 ; MEMBER_ENUM-NEXT: single = 2\r
17 ; MEMBER_ENUM-NEXT: free = 3\r
18 ; MEMBER_ENUM-NEXT: neutral = 4\r
19 ; MEMBER_ENUM-NEXT: both = 5\r
20 ; MEMBER_ENUM-NEXT: }\r