1# REQUIRES: x86 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 4 5# CHECK: error: {{.*}}.test:8: at least one side of the expression must be absolute 6 7SECTIONS { 8 foo = ADDR(.text) + ADDR(.text); 9}; 10