1 # RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2>&1 | FileCheck %s --check-prefix=ASM-ERR
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 aa0506ff
10 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
19 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
28 # nop is a fixed size instruction so this should pass.
30 # OBJTEXT: Contents of section .text
31 # OBJTEXT-NEXT: 0000 9090ff34 25000000 00909090 78563412
32 # OBJTEXT-NEXT: 0010 78563412 90
38 # ASM-ERR: [[@LINE+1]]:5: error: expected absolute expression
48 # No additional errors.
50 # ASM-ERR-NOT: {{[0-9]+}}:{{[0-9]+}}: error:
57 .fill (text3-text2)/4, 4, 0x12345678