[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / MachO / alias.s
blobaec04c63b68f13d050a7f80a0074856c1935f9b5
1 // RUN: llvm-mc -triple x86_64-apple-macosx10.12.0 %s -filetype=obj | llvm-readobj -r | FileCheck %s
3 l_a:
4 l_b = l_a
5 l_c = l_b
6 .long l_c
8 // CHECK: Relocations [
9 // CHECK-NEXT: Section __text {
10 // CHECK-NEXT: 0x0 0 2 1 X86_64_RELOC_UNSIGNED 0 l_c
11 // CHECK-NEXT: }
12 // CHECK-NEXT: ]