2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
3 # RUN: not ld.lld -o /dev/null --script %s %t.o -shared 2>&1 | FileCheck %s
5 # CHECK: error: {{.*}}.test:8: at least one side of the expression must be absolute
8 foo = ADDR(.text) + ADDR(.text);