mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
23d27597a3
This fixes pr19147. There are a few more related issues to fix, but the testcase in the bug now passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207763 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
477 B
ArmAsm
20 lines
477 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t -r | FileCheck %s
|
|
|
|
.data
|
|
.globl test1_foo
|
|
test1_foo:
|
|
.long 42
|
|
|
|
.globl test1_zed
|
|
test1_zed = test1_foo + 1
|
|
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: test1_zed
|
|
// CHECK-NEXT: Value: 1
|
|
// CHECK-NEXT: Section: .data
|
|
// CHECK-NEXT: BaseType: Null
|
|
// CHECK-NEXT: ComplexType: Null
|
|
// CHECK-NEXT: StorageClass: External
|
|
// CHECK-NEXT: AuxSymbolCount: 0
|
|
// CHECK-NEXT: }
|