2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/fill.s -o %t.o
3 # RUN: ld.lld -o %t --script %s %t.o
4 # RUN: llvm-objdump -s %t | FileCheck %s
15 FILL(0x22220000 + 0x2222);
20 # CHECK: Contents of section .out:
21 # CHECK-NEXT: 2222aa22 222222bb 22222222 22222222
23 # RUN: echo 'SECTIONS { .out : { FILL 0x11111111 } }' > %t.script
24 # RUN: not ld.lld -o /dev/null --script %t.script 2>&1 | FileCheck %s --check-prefix=ERR
25 # ERR: ( expected, but got 0x11111111