1 # RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2>&1 | FileCheck %s --check-prefix=ASM-ERR --implicit-check-not=error:
2 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s | llvm-objdump -j .data -s - | FileCheck %s --check-prefix=OBJDATA
3 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s | llvm-objdump -j .text -s - | FileCheck %s --check-prefix=OBJTEXT
6 # OBJDATA: Contents of section .data
7 # OBJDATA-NEXT: 0000 aa01aa05 06000000 08ff
10 # ASM-ERR: :[[#@LINE+1]]:5: error: expected absolute expression
19 # ASM-ERR: :[[#@LINE+1]]:5: error: expected absolute expression
28 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
38 # ASM-ERR: :[[#@LINE+1]]:5: error: expected absolute expression
47 # nop is a fixed size instruction so this should pass.
49 # OBJTEXT: Contents of section .text
50 # OBJTEXT-NEXT: 0000 909090ff 34250000 00009090 90785634
51 # OBJTEXT-NEXT: 0010 12785634 1290
55 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
62 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
72 # No additional errors.
74 # ASM-ERR-NOT: {{[0-9]+}}:{{[0-9]+}}: error:
80 .fill (text4-text3)/4, 4, 0x12345678