1// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t -r | FileCheck %s
2
3	.data
4	.globl	test1_foo
5test1_foo:
6        .long 42
7
8        .globl test1_zed
9test1_zed = test1_foo + 1
10
11// CHECK:      Symbol {
12// CHECK:        Name: test1_zed
13// CHECK-NEXT:   Value: 1
14// CHECK-NEXT:   Section: .data
15// CHECK-NEXT:   BaseType: Null
16// CHECK-NEXT:   ComplexType: Null
17// CHECK-NEXT:   StorageClass: External
18// CHECK-NEXT:   AuxSymbolCount: 0
19// CHECK-NEXT: }
20