1# Test what happens when the first type record (0x1000) is a LF_FIELDLIST
2# record.
3
4# Steps to regenerate input:
5# $ cat t.c
6# struct { int x; } o;
7# $ cl -Z7 t.c
8
9RUN: llvm-readobj -codeview %S/Inputs/codeview-merging-anon.obj | FileCheck %s
10RUN: llvm-readobj -codeview-merged-types %S/Inputs/codeview-merging-anon.obj | FileCheck %s
11
12CHECK-LABEL:  FieldList (0x1000) {
13CHECK-NEXT:     TypeLeafKind: LF_FIELDLIST (0x1203)
14CHECK-NEXT:     DataMember {
15CHECK-NEXT:       TypeLeafKind: LF_MEMBER (0x150D)
16CHECK-NEXT:       AccessSpecifier: Public (0x3)
17CHECK-NEXT:       Type: int (0x74)
18CHECK-NEXT:       FieldOffset: 0x0
19CHECK-NEXT:       Name: x
20CHECK-NEXT:     }
21CHECK-NEXT:   }
22CHECK-LABEL:  Struct (0x1001) {
23CHECK:          TypeLeafKind: LF_STRUCTURE (0x1505)
24CHECK:          MemberCount: 1
25CHECK:          FieldList: <field list> (0x1000)
26CHECK:          Name: <unnamed-tag>
27CHECK:          LinkageName: .?AU<unnamed-tag>@@
28CHECK:        }
29CHECK-LABEL:  StringId
30