1 # RUN: llvm-mc -filetype=obj -defsym=I=6 -triple i686-unknown-unknown %s | llvm-objdump -triple i686-unknown-unknown -s - | FileCheck --check-prefix="CHECK" %s
2 # RUN: not llvm-mc -filetype=obj -defsym=I=4 -triple i686-unknown-unknown %s -o /dev/null 2>&1 | FileCheck --check-prefix="CHECK-ERR" %s
6 # CHECK: Contents of section .text
7 # CHECK-NEXT: 0000 e9810000 00cc9090 90909090 90909090
9 # Make sure we emit in correct endianness.
11 # CHECK: Contents of section .data
12 # CHECK-NEXT: 0000 78563412 78563412 78563412
17 # CHECK-ERR: [[@LINE+1]]:7: error: invalid number of bytes
18 .fill ((I+foo) - .), 1, 0xcc
24 # This fill length is not known at assembler time.
30 .fill ((foo+8)-bar), 4, 0x12345678